import { ComponentMeta, ComponentStory } from '@storybook/react' import { DaoPageWrapperDecorator } from '@dao-dao/storybook/decorators' import { ProposalListProps } from '@dao-dao/types' import { useDao } from '../../../contexts/Dao' import { ButtonLink } from '../../buttons' import { ProposalLineProps, ProposalList } from '../../proposal' import * as ProposalListStories from '../../proposal/ProposalList.stories' import { ProposalsTab } from './ProposalsTab' export default { title: 'DAO DAO / packages / stateless / components / dao / tabs / ProposalsTab', component: ProposalsTab, decorators: [DaoPageWrapperDecorator], } as ComponentMeta const Template: ComponentStory = (args) => ( ) export const Default = Template.bind({}) Default.args = { ProposalList: () => ( )} /> ), ButtonLink, } export const None = Template.bind({}) None.args = { ...Default.args, ProposalList: () => ( )} /> ), ButtonLink, }