mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
test(inline-notification): add unit tests
This commit is contained in:
parent
d67b3e0a84
commit
7317192e90
5 changed files with 211 additions and 49 deletions
|
@ -0,0 +1,12 @@
|
|||
<script lang="ts">
|
||||
import { InlineNotification } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<InlineNotification
|
||||
title="Error"
|
||||
subtitle="An internal server error occurred."
|
||||
on:close={(e) => {
|
||||
e.preventDefault();
|
||||
console.log("close", e.detail);
|
||||
}}
|
||||
/>
|
Loading…
Add table
Add a link
Reference in a new issue