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
{{ message }}
Repository navigation
Commit 07d2b24
Browse filesBrowse the repository at this point in the historyBrowse files
|`isCompact`|`compact` attribute |Dropped `is-` prefix per web component convention|
44
+
|`isDisabled`|`disabled` attribute |Dropped `is-` prefix per web component convention|
45
+
|`isClickable`|`clickable` attribute |Dropped `is-` prefix per web component convention|
46
+
|`isTruncated`|`truncated` attribute |Dropped `is-` prefix per web component convention|
47
+
|`onClose`|`removable` attribute + `close` event |In React, providing `onClose` shows the close button and handles the event. Set `removable` to show the button; listen for the `close` event (`LabelCloseEvent`) to handle it. `preventDefault()` stops removal. |
48
48
|`onClick`| native `click` event | Use standard `click` event listener on the element |
49
49
|`icon` (ReactNode) |`icon` slot | Slot a `<svg>` or icon element instead of passing a React node |
50
50
|`closeBtnAriaLabel`|`close-button-label` attribute | Renamed to match web component dash-case conventions |
0 commit comments