mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
refactor(truncate): rename "direction" prop to "clamp"
This commit is contained in:
parent
69dae01722
commit
abe5220ec2
7 changed files with 19 additions and 18 deletions
|
@ -8,7 +8,7 @@
|
|||
Carbon Design System, an open source design system by IBM.
|
||||
</Truncate>
|
||||
|
||||
<Truncate direction="front">
|
||||
<Truncate clamp="front">
|
||||
Carbon Components Svelte is a Svelte component library that implements the
|
||||
Carbon Design System, an open source design system by IBM.
|
||||
</Truncate>
|
||||
|
@ -17,7 +17,7 @@
|
|||
Carbon Components Svelte is a Svelte component library that implements the
|
||||
Carbon Design System, an open source design system by IBM.
|
||||
</h4>
|
||||
<h4 use:truncate="{{ direction: 'front' }}">
|
||||
<h4 use:truncate="{{ clamp: 'front' }}">
|
||||
Carbon Components Svelte is a Svelte component library that implements the
|
||||
Carbon Design System, an open source design system by IBM.
|
||||
</h4>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue