-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix accordion buttons * Fix failing test
- Loading branch information
Showing
6 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
| Name | Type | Required | Description | | ||
| ---------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------ | | ||
| text | string | true | If `html` is set, this is not required. Text for the button. If `html` is provided, the `text` argument will be ignored. | | ||
| html | string | true | If `text` is set, this is not required. HTML for the button. If `html` is provided, the `text` argument will be ignored. | | ||
| type | string | true | Type of `input` or `button` – `button`, `submit` or `reset`. Defaults to `submit`. | | ||
| name | string | true | Name for the `button` | | ||
| value | string | true | Value for the `button` | | ||
| id | string | false | ID for the `button` | | ||
| classes | string | false | Classes to add to the button component | | ||
| print | boolean | false | Sets button into print button mode and adds the relevant classes | | ||
| attributes | object | false | HTML attributes (for example data attributes) to add to the button component | | ||
| Name | Type | Required | Description | | ||
| ------------ | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------ | | ||
| text | string | true | If `html` is set, this is not required. Text for the button. If `html` is provided, the `text` argument will be ignored. | | ||
| html | string | true | If `text` is set, this is not required. HTML for the button. If `html` is provided, the `text` argument will be ignored. | | ||
| type | string | true | Type of `input` or `button` – `button`, `submit` or `reset`. Defaults to `submit`. | | ||
| name | string | true | Name for the `button` | | ||
| value | string | true | Value for the `button` | | ||
| id | string | false | ID for the `button` | | ||
| classes | string | false | Classes to add to the button component | | ||
| innerClasses | string | false | Classes to add to the inner button element | | ||
| print | boolean | false | Sets button into print button mode and adds the relevant classes | | ||
| attributes | object | false | HTML attributes (for example data attributes) to add to the button component | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters