mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-18 15:44:36 +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
20 lines
431 B
Plaintext
20 lines
431 B
Plaintext
import { Canvas, Meta } from '@storybook/blocks';
|
|
|
|
import * as InputStories from './Input.stories';
|
|
|
|
<Meta of={InputStories} />
|
|
|
|
# Input control
|
|
|
|
Here is the input with placeholder
|
|
<Canvas of={InputStories.Default} />
|
|
|
|
Here is the input with icon
|
|
<Canvas of={InputStories.WithIcon} />
|
|
|
|
Here is the input with label
|
|
<Canvas of={InputStories.WithLabel} />
|
|
|
|
Here is the input with error message
|
|
<Canvas of={InputStories.WithError} />
|