remove default from inline notification (#553)

* remove default from inline notification

* feat(notification): remove default prop value for title, caption

Co-authored-by: Eric Y Liu <ericyl.us@gmail.com>
This commit is contained in:
Nicco 2021-03-20 19:05:38 +01:00 committed by GitHub
commit 121062a80c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 12 deletions

View file

@ -1907,7 +1907,7 @@ None.
| lowContrast | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to use the low contrast variant |
| timeout | <code>let</code> | No | <code>number</code> | <code>0</code> | Set the timeout duration (ms) to hide the notification after opening it |
| role | <code>let</code> | No | <code>string</code> | <code>"alert"</code> | Set the `role` attribute |
| title | <code>let</code> | No | <code>string</code> | <code>"Title"</code> | Specify the title text |
| title | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the title text |
| subtitle | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the subtitle text |
| hideCloseButton | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to hide the close button |
| iconDescription | <code>let</code> | No | <code>string</code> | <code>"Closes notification"</code> | Specify the ARIA label for the icon |
@ -4149,9 +4149,9 @@ None.
| lowContrast | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to use the low contrast variant |
| timeout | <code>let</code> | No | <code>number</code> | <code>0</code> | Set the timeout duration (ms) to hide the notification after opening it |
| role | <code>let</code> | No | <code>string</code> | <code>"alert"</code> | Set the `role` attribute |
| title | <code>let</code> | No | <code>string</code> | <code>"Title"</code> | Specify the title text |
| title | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the title text |
| subtitle | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the subtitle text |
| caption | <code>let</code> | No | <code>string</code> | <code>"Caption"</code> | Specify the caption text |
| caption | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the caption text |
| iconDescription | <code>let</code> | No | <code>string</code> | <code>"Closes notification"</code> | Specify the ARIA label for the icon |
| hideCloseButton | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to hide the close button |