mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
test: add TS types
This commit is contained in:
parent
302e82d6a2
commit
eed617433b
126 changed files with 3378 additions and 226 deletions
35
tests/ToastNotification.test.svelte
Normal file
35
tests/ToastNotification.test.svelte
Normal file
|
@ -0,0 +1,35 @@
|
|||
<script lang="ts">
|
||||
import { ToastNotification } from "../types";
|
||||
</script>
|
||||
|
||||
<ToastNotification />
|
||||
|
||||
<ToastNotification
|
||||
hideCloseButton
|
||||
kind="warning"
|
||||
title="Upcoming scheduled maintenance"
|
||||
/>
|
||||
|
||||
<ToastNotification kind="error" />
|
||||
|
||||
<ToastNotification kind="info" />
|
||||
|
||||
<ToastNotification kind="info-square" />
|
||||
|
||||
<ToastNotification kind="success" />
|
||||
|
||||
<ToastNotification kind="warning" />
|
||||
|
||||
<ToastNotification kind="warning-alt" />
|
||||
|
||||
<ToastNotification lowContrast kind="error" />
|
||||
|
||||
<ToastNotification lowContrast kind="info" />
|
||||
|
||||
<ToastNotification lowContrast kind="info-square" />
|
||||
|
||||
<ToastNotification lowContrast kind="success" />
|
||||
|
||||
<ToastNotification lowContrast kind="warning" />
|
||||
|
||||
<ToastNotification lowContrast kind="warning-alt" />
|
Loading…
Add table
Add a link
Reference in a new issue