: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import type { Meta, StoryObj } from '@storybook/react'
import { urls } from 'scenes/urls'
import { Link, LinkProps } from './Link'
type Story = StoryObj<LinkProps>
const meta: Meta<LinkProps> = {
title: 'Lemon UI/Link',
component: Link as any,
args: {
children: 'Click me',
},
tags: ['autodocs'],
}
export default meta
export const Default: Story = {
args: {},
}
export const ToLink: Story = {
args: {
to: urls.projectHomepage(),
},
}
export const DisabledWithReason: Story = {
args: {
disabledReason: 'Not allowed',
},
}