From a1e8f1e4426ed3560ce1b76fb73a6969388ed253 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 7 Apr 2022 22:57:15 +0200 Subject: chore: add a SelectWithTooltip component --- .../molecules/buttons/help-button.stories.tsx | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'src/components/molecules/buttons/help-button.stories.tsx') diff --git a/src/components/molecules/buttons/help-button.stories.tsx b/src/components/molecules/buttons/help-button.stories.tsx index 2b04a9c..7ed953e 100644 --- a/src/components/molecules/buttons/help-button.stories.tsx +++ b/src/components/molecules/buttons/help-button.stories.tsx @@ -5,6 +5,34 @@ import HelpButtonComponent from './help-button'; export default { title: 'Molecules/Buttons', component: HelpButtonComponent, + argTypes: { + classes: { + control: { + type: 'text', + }, + description: 'Set additional classes to the button.', + table: { + category: 'Options', + }, + type: { + name: 'string', + required: false, + }, + }, + onClick: { + control: { + type: null, + }, + description: 'A callback function to handle click on button.', + table: { + category: 'Events', + }, + type: { + name: 'function', + required: false, + }, + }, + }, } as ComponentMeta; const Template: ComponentStory = (args) => ( -- cgit v1.2.3