import type { Meta, StoryObj } from '@storybook/react-vite' import { LinkChip } from './LinkChip' import { GROUP, ITEM, PLACE, ready } from './linked.examples' import { LinkPreview, LinkPreviewOpen } from './LinkPreview' import { LinkRow } from './LinkRow' const meta = { title: 'Components/LinkPreview', component: LinkPreview, parameters: { layout: 'padded' }, args: { linked: ITEM, children: null }, } satisfies Meta export default meta type Story = StoryObj /** Hover the chip or the row: the card shows, read only. On a screen that cannot hover there is none, and a tap opens the link. */ export const OnHover: Story = { render: () => (

Hover for its card.

), } /** Drawn open, for a still picture: the values are words, never pickers. */ export const Open: Story = { render: () => (
), }