mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-09 10:03:36 +00:00
feat: create story for currency dropdown menu
This commit is contained in:
parent
777b2fc6f0
commit
a0aa8b53fb
21
src/components/General/CurrencyDropdown.stories.tsx
Normal file
21
src/components/General/CurrencyDropdown.stories.tsx
Normal file
@ -0,0 +1,21 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import CurrencyDropdown from './CurrencyDropdown'
|
||||
|
||||
const meta = {
|
||||
title: 'General/CurrencyDropdown',
|
||||
component: CurrencyDropdown,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof CurrencyDropdown>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
changeCurrency: () => {},
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user