mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +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,10 +1,10 @@
|
|||
<script lang="ts">
|
||||
import { truncate } from "carbon-components-svelte";
|
||||
import { truncate } from "carbon-components-svelte";
|
||||
|
||||
export let clamp: "end" | "front" = "end";
|
||||
export let text =
|
||||
"This is a long text that should be truncated when it exceeds the available space";
|
||||
export let element: "h1" | "h2" | "h3" | "h4" | "p" | "span" = "p";
|
||||
export let clamp: "end" | "front" = "end";
|
||||
export let text =
|
||||
"This is a long text that should be truncated when it exceeds the available space";
|
||||
export let element: "h1" | "h2" | "h3" | "h4" | "p" | "span" = "p";
|
||||
</script>
|
||||
|
||||
{#if element === "h1"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue