mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
docs: add DataTable
example "Batch selection with controlled toolbar" (#1447)
* docs(inline-notification): add `NotificationActionButton` to Component API * docs(data-table): rename example "Selectable with batch actions" * docs(data-table): add example "Batch selection with controlled toolbar" * docs(notification): remove note on minimum Svelte version This banner is redundant since the minimum Svelte version is displayed in the README and on the home page of the docs.
This commit is contained in:
parent
8fea168ffd
commit
b42f9ba258
4 changed files with 76 additions and 14 deletions
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
components: ["InlineNotification", "NotificationActionButton"]
|
||||
source: Notification/InlineNotification.svelte
|
||||
---
|
||||
|
||||
|
@ -15,12 +16,6 @@ source: Notification/InlineNotification.svelte
|
|||
|
||||
`InlineNotification` is a controlled component. Prevent the default close behavior using the `e.preventDefault()` method in the dispatched `on:close` event.
|
||||
|
||||
<InlineNotification svx-ignore lowContrast title="Note:" kind="info" hideCloseButton>
|
||||
<div class="body-short-01">
|
||||
Svelte version 3.48.0 or greater is required.
|
||||
</div>
|
||||
</InlineNotification>
|
||||
|
||||
<InlineNotification title="Error" subtitle="An internal server error occurred." on:close={(e) => {
|
||||
e.preventDefault();
|
||||
// custom close logic (e.g., transitions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue