Files
omnivore/packages/web/stories/EmptyLibrary.stories.tsx
2022-04-21 14:05:18 -07:00

22 lines
592 B
TypeScript

import { ComponentStory, ComponentMeta } from '@storybook/react'
import { EmptyLibrary } from '../components/templates/homeFeed/EmptyLibrary'
export default {
title: 'Components/EmptyLibraryStory',
component: EmptyLibrary,
argTypes: {
position: {
description: 'The empty library component',
control: { type: 'select' },
},
},
} as ComponentMeta<typeof EmptyLibrary>
export const EmptyLibraryStory: ComponentStory<typeof EmptyLibrary> = (args: any) => {
return (
<EmptyLibrary onAddLinkClicked={() => {
console.log('onAddLinkClicked')
}} />
)
}