mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
test(inline-notification): add unit tests
This commit is contained in:
parent
d67b3e0a84
commit
35de0fe0d6
5 changed files with 211 additions and 49 deletions
|
@ -0,0 +1,14 @@
|
|||
<script lang="ts">
|
||||
import {
|
||||
InlineNotification,
|
||||
NotificationActionButton,
|
||||
} from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<InlineNotification kind="warning">
|
||||
<strong slot="title">Custom Title:</strong>
|
||||
<strong slot="subtitle">Custom subtitle content.</strong>
|
||||
<svelte:fragment slot="actions">
|
||||
<NotificationActionButton>Learn more</NotificationActionButton>
|
||||
</svelte:fragment>
|
||||
</InlineNotification>
|
Loading…
Add table
Add a link
Reference in a new issue