-
Notifications
You must be signed in to change notification settings - Fork 53
/
button.docs.json
24 lines (24 loc) · 958 Bytes
/
button.docs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"description": "\nButtons indicate actions on the page that will occur when a user touches them. This button is responsive to screen sizes.\nWe support a very minimal level of variation for the primary button. Custom styling or class names should not be applied to the primary button.\nIt requires text in all cases, but allows for icons as an optional addition.\nThe primary button can also exist as an element within larger molecules and organisms.",
"displayName": "Button",
"props": [
{
"value": "dsm-btn",
"description": "Base class to define a button",
"required": true
},
{
"value": "dsm-btn--with-icon",
"description": "Required when the button is with an icon"
},
{
"value": "dsm-btn__content",
"description": "The content of the button"
},
{
"value": "disabled",
"description": "Disabled attribute to disable the button",
"required": false
}
]
}