Fix Storybook a11y violations
This commit is contained in:
@@ -31,7 +31,14 @@ export default meta;
|
||||
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Playground: Story = {};
|
||||
export const Playground: Story = {
|
||||
render: (args) => (
|
||||
<div className="flex items-center gap-3">
|
||||
<Switch id="switch-playground" {...args} />
|
||||
<Label htmlFor="switch-playground">Live publishing</Label>
|
||||
</div>
|
||||
)
|
||||
};
|
||||
|
||||
export const States: Story = {
|
||||
render: () => (
|
||||
|
||||
Reference in New Issue
Block a user