import { ComponentMeta, ComponentStory } from '@storybook/react' import { WALLET_PROFILE_DATA } from '@dao-dao/storybook' import { MembershipPill } from './MembershipPill' import { ProfileCardWrapper } from './ProfileCardWrapper' export default { title: 'DAO DAO / packages / stateless / components / profile / ProfileCardWrapper', component: ProfileCardWrapper, } as ComponentMeta const Template: ComponentStory = (args) => (
) export const Default = Template.bind({}) Default.args = { profile: { loading: false, data: WALLET_PROFILE_DATA, }, underHeaderComponent: , children:

Content!

, } Default.parameters = { design: { type: 'figma', url: 'https://www.figma.com/file/ZnQ4SMv8UUgKDZsR5YjVGH/DAO-DAO-2.0?node-id=94%3A14674', }, } export const DefaultLoading = Template.bind({}) DefaultLoading.args = { ...Default.args, profile: { loading: true, }, } export const Compact = Template.bind({}) Compact.args = { profile: { loading: false, data: WALLET_PROFILE_DATA, }, compact: true, children:

Content!

, } Compact.parameters = { design: { type: 'figma', url: 'https://www.figma.com/file/ZnQ4SMv8UUgKDZsR5YjVGH/DAO-DAO-2.0?node-id=94%3A16345', }, } export const CompactLoading = Template.bind({}) CompactLoading.args = { ...Compact.args, profile: { loading: true, }, }