From 0f936ec0e7606cb79434d94096b6e113a7ce78eb Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 15 Dec 2023 18:35:16 +0100 Subject: refactor(stories): migrate stories to CSF3 format --- src/components/atoms/buttons/button/button.mdx | 80 ++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 src/components/atoms/buttons/button/button.mdx (limited to 'src/components/atoms/buttons/button/button.mdx') diff --git a/src/components/atoms/buttons/button/button.mdx b/src/components/atoms/buttons/button/button.mdx new file mode 100644 index 0000000..d90156e --- /dev/null +++ b/src/components/atoms/buttons/button/button.mdx @@ -0,0 +1,80 @@ +import { ArgTypes, Canvas, Meta, Primary } from '@storybook/blocks'; +import * as ButtonStories from './button.stories'; + + + +# Button + + + +## Kind + +The button appearance can change depending on its kind. + +### Primary + + + +### Secondary (default) + + + +### Tertiary + + + +### Neutral + + + +## States + +It can either: +* be enabled, +* be disabled +* indicate a loading state, +* indicate a pressed state. + +### Enabled (default) + + + +### Disabled + + + +### Loading + + + +### Pressed + + + +## Shapes + +It can either: +* be a circle, +* be a rectangle +* be a square, +* or conserves its initial shape. + +### Circle + + + +### Rectangle (default) + + + +### Square + + + +### Initial + + + +## Props + + -- cgit v1.2.3