mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
We'll be using this for our image generation roadmap: https://docs.google.com/document/d/1O9YI_iLwXkl2wAJJ23dFp3eHR-JzhlRHCBPD8psG-1E/edit The original Studio Gen 2 is in the `frontend/studio-gen-2` directory. The original Studio Gen 1 is in the `frontend/studio-gen-1` directory
21 lines
501 B
Plaintext
21 lines
501 B
Plaintext
import { Canvas, Meta } from '@storybook/blocks';
|
|
|
|
import * as ButtonLinkStories from './ButtonLink.stories';
|
|
|
|
<Meta of={ButtonLinkStories} />
|
|
|
|
# ButtonLink
|
|
|
|
A button denotes a possible action to be taken on behalf of the user.
|
|
|
|
The button label comes via "children".
|
|
|
|
There are three types of Button: primary, secondary, action.
|
|
|
|
<Canvas of={ButtonLinkStories.Primary} />
|
|
<Canvas of={ButtonLinkStories.Secondary} />
|
|
|
|
It can be shown with an optional icon.
|
|
|
|
<Canvas of={ButtonLinkStories.WithIcon} />
|