import type { Meta, StoryObj } from '@storybook/react'; import { Box } from '../Box'; import { Icon } from '../Icon'; import { Asset } from './Asset'; import { MOCK_ASSETS } from './__mocks__/assets'; const meta: Meta = { title: 'UI/Asset', component: Asset, }; export default meta; type Story = StoryObj; const DEFAULT_ARGS = { asset: MOCK_ASSETS.eth, amount: '1000000000', }; function Full(args: Story['args']) { return ( ); } export const Usage: Story = { render: (args) => , }; export const IconName: Story = { name: 'Icon + Name', render: (args) => ( ), }; export const CustomIcon: Story = { render: (args) => ( } /> ), }; export const NoIcon: Story = { render: (args) => ( ), }; export const AmountSymbol: Story = { name: 'Amount + Symbol', render: (args) => ( ), }; const AMOUNT_ARGS = { asset: MOCK_ASSETS.eth, amount: '1000000001', precision: 9, }; export const AmountExamples: Story = { render: (args) => ( ), }; export const Sizes: Story = { render: (args) => ( ), };