mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore(textinput): add helper text to default, password stories
This commit is contained in:
parent
3ed89b6cc2
commit
506cf24b5c
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ export const Default = () => ({
|
||||||
light: boolean("Light variant (light)", false),
|
light: boolean("Light variant (light)", false),
|
||||||
hideLabel: boolean("No label (hideLabel)", false),
|
hideLabel: boolean("No label (hideLabel)", false),
|
||||||
labelText: text("Label text (labelText)", "Text Input label"),
|
labelText: text("Label text (labelText)", "Text Input label"),
|
||||||
|
helperText: text("Helper text (helperText)", "Optional helper text here"),
|
||||||
invalid: boolean("Show form validation UI (invalid)", false),
|
invalid: boolean("Show form validation UI (invalid)", false),
|
||||||
invalidText: text(
|
invalidText: text(
|
||||||
"Content of form validation UI (invalidText)",
|
"Content of form validation UI (invalidText)",
|
||||||
|
@ -76,6 +77,7 @@ export const ControlledTogglePasswordVisibility = () => ({
|
||||||
light: boolean("Light variant (light)", false),
|
light: boolean("Light variant (light)", false),
|
||||||
hideLabel: boolean("No label (hideLabel)", false),
|
hideLabel: boolean("No label (hideLabel)", false),
|
||||||
labelText: text("Label text (labelText)", "Text Input label"),
|
labelText: text("Label text (labelText)", "Text Input label"),
|
||||||
|
helperText: text("Helper text (helperText)", "Optional helper text here"),
|
||||||
invalid: boolean("Show form validation UI (invalid)", false),
|
invalid: boolean("Show form validation UI (invalid)", false),
|
||||||
invalidText: text(
|
invalidText: text(
|
||||||
"Content of form validation UI (invalidText)",
|
"Content of form validation UI (invalidText)",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue