Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

776 B
Raw Blame
import type { Meta, StoryObj } from '@storybook/react'

import { OAuthConnectionLogos } from './OAuthConnectionLogos'

const meta: Meta<typeof OAuthConnectionLogos> = {
    title: 'Components/OAuth connection logos',
    component: OAuthConnectionLogos,
    tags: ['autodocs'],
}
export default meta

type Story = StoryObj<typeof OAuthConnectionLogos>

export const WithLogo: Story = {
    // Served from frontend/public, so the snapshot never reaches out to a host we do not control.
    args: { appName: 'Zapier', logoUri: '/static/services/zapier.png' },
}

export const WithoutLogo: Story = {
    args: { appName: 'Zapier', logoUri: null },
}

export const BrokenLogo: Story = {
    args: { appName: 'Zapier', logoUri: '/static/services/this-icon-does-not-exist.png' },
}