import React from 'react'; import { AccountPicker } from '.'; const CHAOS_ACCOUNT = { address: '"0xb19ac54efa18cc3a14a5b821bfec73d284bf0c5e"', name: 'Account That Has A Really Really Really Really Really Long Name', }; export default { title: 'Components/Multichain/AccountPicker', component: AccountPicker, argTypes: { name: { control: 'string', }, address: { control: 'string', }, onClick: { action: 'onClick', }, }, args: { address: '0xb19ac54efa18cc3a14a5b821bfec73d284bf0c5e', name: 'Account 1', onClick: () => undefined, }, }; export const DefaultStory = (args) => ; DefaultStory.storyName = 'Default'; export const WithAddressStory = (args) => ; WithAddressStory.storyName = 'With Address'; WithAddressStory.args = { showAddress: true, }; export const ChaosStory = (args) => (
); ChaosStory.storyName = 'Chaos'; ChaosStory.args = { name: CHAOS_ACCOUNT.name }; export const ChaosWithAddressStory = (args) => (
); ChaosWithAddressStory.storyName = 'Chaos with Address'; ChaosWithAddressStory.args = { name: CHAOS_ACCOUNT.name, showAddress: true };