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.

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

import { Map, MapProps } from './Map'

const coordinates: [number, number] = [0.119167, 52.205276]

const meta: Meta<MapProps> = {
    title: 'Components/Map',
    component: Map,
    tags: ['autodocs', 'test-skip'],
    // :TRICKY: We can't use markers in Storybook stories, as the Marker class is
    // not JSON-serializable (circular structure).
    args: {
        center: coordinates,
        className: 'h-60',
    },
}
type Story = StoryObj<MapProps>

export const Basic: Story = {}

export default meta