import { DemoStory } from '../../demo/demo-types'; import { AspectRatio, AspectRatioProps } from './aspect-ratio'; export const aspectRatioDemo: DemoStory = { id: 'aspect-ratio', text: 'AspectRatio', args: { ratio: 16 / 9, children:
, }, argTypes: { ratio: { control: 'select', options: [16 / 9, 4 / 3, 1, 9 / 16], description: 'Aspect ratio (width / height)', }, }, render: (args) => { return (

16 / 9 (Video)

16:9 Content

4 / 3 (Classic Photo)

4:3 Content

1 / 1 (Square)

1:1 Content
); }, code: `import { AspectRatio } from 'lupine.components/component-pool'; // Video embed (16:9)