import { Story, Meta } from '@storybook/react'
import { AddressProps } from './types'
import Address from './Address'

export default {
  component: Address,
  title: 'Layout/Address',
  args: {
    address: '0x5a98fcbea516cf06857215779fd812ca3bef1b32',
    symbols: 3,
  },
  argTypes: {
    symbols: {
      control: { type: 'range', min: 3, max: 21, step: 1 },
    },
  },
} as Meta

export const Basic: Story<AddressProps> = (props) => <Address {...props} />
