diff --git a/src/components/data-entry/Input/Search/Search.stories.tsx b/src/components/data-entry/Input/Search/Search.stories.tsx new file mode 100644 index 000000000..479f4e142 --- /dev/null +++ b/src/components/data-entry/Input/Search/Search.stories.tsx @@ -0,0 +1,43 @@ +import { Meta, StoryObj } from '@storybook/react' +import { Input } from 'src/components' + +const meta: Meta = { + title: 'Aquarium/Data Entry/Input/Search/Search', + component: Input.Search, + + args: { + placeholder: 'Input.Search Placeholder', + enterButton: undefined, + loading: false, + onSearch: e => { + console.log('Search triggered: ' + String(e)) + }, + }, +} + +export default meta + +type Story = StoryObj + +export const Default: Story = { +} + +export const EnterButton: Story = { + args: { + enterButton: Search, + }, +} + +export const Loading: Story = { + args: { + loading: true, + }, +} + + +export const LoadingWithEnterButton: Story = { + args: { + enterButton: Search, + loading: true, + }, +}