From 4724b7a6c2835c00ae9e9c6e26b3015ad7384e1c Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 2 Apr 2022 12:01:09 -0700 Subject: [PATCH] docs: update truncate docs --- docs/src/pages/components/Truncate.svx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/src/pages/components/Truncate.svx b/docs/src/pages/components/Truncate.svx index 41c0ce4a..071ec970 100644 --- a/docs/src/pages/components/Truncate.svx +++ b/docs/src/pages/components/Truncate.svx @@ -1,7 +1,6 @@ @@ -25,9 +24,7 @@ Set `clamp` to `"front"` to clamp the text from the front. ### use:truncate -The `truncate` action can be used on other HTML elements. - -Import path: `import { truncate } from "carbon-components-svelte/actions";` +The `truncate` action can be used on plain HTML elements.

Carbon Components Svelte is a Svelte component library that implements the Carbon Design System, an open source design system by IBM.