Skip to content

Commit

Permalink
Upgrade storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
pnegri committed Jan 28, 2024
1 parent 9257359 commit abdebbc
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/components/Button.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { Canvas, Meta, Primary, Controls, Subtitle, Story, ArgTypes, Description } from '@storybook/blocks';
//import * as ButtonStories from './Button.stories';

import * as ButtonStories from './Button.stories';

# Button

<Meta of={ButtonStories} />

<Subtitle>Displays an image that represents a user or organization</Subtitle>

A button is ...

<Primary />

<Canvas>
<Story of={ButtonStories.Default} />
</Canvas>

## Props

<ArgTypes of={ButtonStories} />

<Controls />

## Stories

### Primary

A button can be of primary importance.

0 comments on commit abdebbc

Please sign in to comment.