import { SidePanel } from '../'; import { Story } from '@storybook/react'; import { SidePanelProps } from './SidePanel'; export default { title: 'Components/SidePanel', component: SidePanel, }; const Template: Story = ({ children, ...props }) => (
{children}
); export const Default = Template.bind({}); Default.args = { variant: 'rounded', children:
Panel content
, }; export const Squared = Template.bind({}); Squared.args = { variant: 'squared', children:
Panel content
, };