import {SunIcon} from '@chakra-ui/icons' import {ComponentMeta, Story} from '@storybook/react' import React from 'react' import Component from './NotifyTableCard' export default { title: 'notify/NotifyTableCard', component: Component } as ComponentMeta type ComponentProps = React.ComponentProps // Create a template for the component const Template: Story = args => export const Example: Story = Template.bind({}) Example.args = { data: [ { id: '1', name: 'Vacation', description: 'This is a notification about vacation. When active, it will be displayed on all pages for the first time a user visits.', logo: SunIcon, active: true } ] }