mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-07 02:21:23 +00:00
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} />
|