import type { Meta, StoryObj } from '@storybook/nextjs' import { useState } from 'react' import SVGBtn from '.' const SvgToggleDemo = () => { const [isSVG, setIsSVG] = useState(false) return (

SVG toggle

Mode: {isSVG ? 'SVG' : 'PNG'}
) } const meta = { title: 'Base/General/SVGBtn', component: SvgToggleDemo, parameters: { layout: 'centered', docs: { description: { component: 'Small toggle used in icon pickers to switch between SVG and bitmap assets.', }, }, }, tags: ['autodocs'], } satisfies Meta export default meta type Story = StoryObj export const Playground: Story = {}