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.

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

import { NotebookWidgetGenerationCost } from './NotebookWidgetGenerationCost'

const meta: Meta<typeof NotebookWidgetGenerationCost> = {
    title: 'Scenes-App/Notebooks/Widget generation cost',
    component: NotebookWidgetGenerationCost,
    decorators: [
        (Story) => (
            <div className="max-w-lg p-3">
                <Story />
            </div>
        ),
    ],
}

export default meta
type Story = StoryObj<typeof meta>

export const Recorded: Story = { args: { cost: '0.123456' } }
export const LessThanOneCent: Story = { args: { cost: '0.004200' } }
export const Unavailable: Story = { args: { cost: null } }