visuals, fixes & storybook upd

This commit is contained in:
2026-06-01 01:09:55 +03:00
parent a5d2742c7c
commit 4919bc26e5
19 changed files with 1704 additions and 342 deletions
+13
View File
@@ -14,11 +14,24 @@ const meta = {
},
},
},
argTypes: {
value: { control: { type: 'range', min: 0, max: 100, step: 1 } },
className: { control: 'text' },
},
args: { value: 40 },
} satisfies Meta<typeof Progress>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Playground: Story = {
render: (args) => (
<div style={{ width: 320 }}>
<Progress {...args} />
</div>
),
};
function ProgressDemo() {
const [v, setV] = useState(40);
return (