import { DemoStory } from '../demo/demo-types'; import { StarsComponent, StarsComponentProps } from './stars-component'; export const starsDemo: DemoStory = { id: 'stars-demo', text: 'Stars Component Demo', args: { maxLength: 5, value: 3, fontSize: '30px', fullIcon:
, outlineIcon:
, }, argTypes: { maxLength: { control: 'number', description: 'Total number of stars' }, value: { control: 'number', description: 'Current rating value' }, fontSize: { control: 'text', description: 'Size of the stars (e.g., 20px, 2rem)' }, }, render: (args: StarsComponentProps) => { return (
); }, code: `import { StarsComponent } from 'lupine.components/components/stars-component'; ★} outlineIcon={
} /> `, };