summaryrefslogtreecommitdiffstats
path: root/src/components/molecules/buttons/help-button.stories.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-06 19:17:15 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-06 19:17:15 +0200
commit51889773b12c576dc199fc84d0188f822ac7baae (patch)
treed79897d463f2517573f6dfce2d1bd27ca476eb28 /src/components/molecules/buttons/help-button.stories.tsx
parent47e12259d512e476326e83929efebf036b57f7c1 (diff)
chore: add a HelpButton component
I also added a new shape to the button base.
Diffstat (limited to 'src/components/molecules/buttons/help-button.stories.tsx')
-rw-r--r--src/components/molecules/buttons/help-button.stories.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/molecules/buttons/help-button.stories.tsx b/src/components/molecules/buttons/help-button.stories.tsx
new file mode 100644
index 0000000..2b04a9c
--- /dev/null
+++ b/src/components/molecules/buttons/help-button.stories.tsx
@@ -0,0 +1,16 @@
+import { ComponentMeta, ComponentStory } from '@storybook/react';
+import { IntlProvider } from 'react-intl';
+import HelpButtonComponent from './help-button';
+
+export default {
+ title: 'Molecules/Buttons',
+ component: HelpButtonComponent,
+} as ComponentMeta<typeof HelpButtonComponent>;
+
+const Template: ComponentStory<typeof HelpButtonComponent> = (args) => (
+ <IntlProvider locale="en">
+ <HelpButtonComponent {...args} />
+ </IntlProvider>
+);
+
+export const HelpButton = Template.bind({});