mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
this required the following: - downgrading nx react (19 -> 18.2) - .npmrc credentials for fontawesome - installing a lot of nx plugins from the vanilla config - removing kalidokit vendored code and all references to it
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} />
|