aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/forms/search-form.stories.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-09-22 19:34:01 +0200
committerArmand Philippot <git@armandphilippot.com>2023-10-24 12:23:48 +0200
commita6ff5eee45215effb3344cb5d631a27a7c0369aa (patch)
tree5051747acf72318b4fc5c18d603e3757fbefdfdb /src/components/organisms/forms/search-form.stories.tsx
parent651ea4fc992e77d2f36b3c68f8e7a70644246067 (diff)
refactor(components): rewrite form components
Diffstat (limited to 'src/components/organisms/forms/search-form.stories.tsx')
-rw-r--r--src/components/organisms/forms/search-form.stories.tsx65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/components/organisms/forms/search-form.stories.tsx b/src/components/organisms/forms/search-form.stories.tsx
deleted file mode 100644
index 4a0a15c..0000000
--- a/src/components/organisms/forms/search-form.stories.tsx
+++ /dev/null
@@ -1,65 +0,0 @@
-import { ComponentMeta, ComponentStory } from '@storybook/react';
-import { SearchForm } from './search-form';
-
-/**
- * SearchForm - Storybook Meta
- */
-export default {
- title: 'Organisms/Forms',
- component: SearchForm,
- args: {
- hideLabel: false,
- searchPage: '#',
- },
- argTypes: {
- className: {
- control: {
- type: 'text',
- },
- description: 'Set additional classnames to the form wrapper.',
- table: {
- category: 'Styles',
- },
- type: {
- name: 'string',
- required: false,
- },
- },
- hideLabel: {
- control: {
- type: 'boolean',
- },
- description: 'Determine if the input label should be visually hidden.',
- table: {
- category: 'Options',
- defaultValue: { summary: false },
- },
- type: {
- name: 'boolean',
- required: false,
- },
- },
- searchPage: {
- control: {
- type: 'text',
- },
- description: 'The search results page url.',
- type: {
- name: 'string',
- required: true,
- },
- },
- },
-} as ComponentMeta<typeof SearchForm>;
-
-const Template: ComponentStory<typeof SearchForm> = (args) => (
- <SearchForm {...args} />
-);
-
-/**
- * Forms Stories - Search
- */
-export const Search = Template.bind({});
-Search.args = {
- hideLabel: true,
-};