You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrates the help text component's docs page information to Storybook.
Creates additional docs-only stories and some supporting templates.
Brings over some helpful info from help text's guidelines for the
descriptions.
* Help text provides either an informative description or an error message that gives more context about what a user needs to input. It's commonly used in forms.
@@ -34,7 +36,7 @@ export default {
34
36
hideIcon: {
35
37
name: "Hide icon",
36
38
type: {name: "boolean"},
37
-
description: "Help text using the negative variant can have an optional icon.",
39
+
description: "Hides the optional icon used with the negative variant.",
38
40
table: {
39
41
type: {summary: "boolean"},
40
42
disable: false,
@@ -58,6 +60,9 @@ export default {
58
60
},
59
61
};
60
62
63
+
/**
64
+
* The default neutral variant is used to convey informative messages.
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
0 commit comments