mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
Run npm run lint
This commit is contained in:
parent
b982387a8c
commit
2031cb7585
480 changed files with 8985 additions and 9048 deletions
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { ToastNotification } from "carbon-components-svelte";
|
||||
import { ToastNotification } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<ToastNotification
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
<script lang="ts">
|
||||
import { ToastNotification } from "carbon-components-svelte";
|
||||
import type { ComponentProps } from "svelte";
|
||||
import { ToastNotification } from "carbon-components-svelte";
|
||||
import type { ComponentProps } from "svelte";
|
||||
|
||||
export let kind: ComponentProps<ToastNotification>["kind"] = "error";
|
||||
export let lowContrast = false;
|
||||
export let timeout = 0;
|
||||
export let role = "alert";
|
||||
export let title = "Error";
|
||||
export let subtitle = "An internal server error occurred.";
|
||||
export let caption = "2024-03-21 12:00:00";
|
||||
export let hideCloseButton = false;
|
||||
export let fullWidth = false;
|
||||
export let statusIconDescription = "";
|
||||
export let closeButtonDescription = "";
|
||||
export let kind: ComponentProps<ToastNotification>["kind"] = "error";
|
||||
export let lowContrast = false;
|
||||
export let timeout = 0;
|
||||
export let role = "alert";
|
||||
export let title = "Error";
|
||||
export let subtitle = "An internal server error occurred.";
|
||||
export let caption = "2024-03-21 12:00:00";
|
||||
export let hideCloseButton = false;
|
||||
export let fullWidth = false;
|
||||
export let statusIconDescription = "";
|
||||
export let closeButtonDescription = "";
|
||||
</script>
|
||||
|
||||
<ToastNotification
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { ToastNotification } from "carbon-components-svelte";
|
||||
import { ToastNotification } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<ToastNotification kind="warning">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue