mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
feat(truncate): integrate Truncate
with v11 (#1958)
This commit is contained in:
parent
b4930910bc
commit
97e6301758
8 changed files with 57 additions and 41 deletions
|
@ -4729,9 +4729,10 @@ export interface TreeNode {
|
|||
|
||||
### Props
|
||||
|
||||
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
||||
| :-------- | :------- | :--------------- | :------- | --------------------------------- | ------------------ | ----------- |
|
||||
| clamp | No | <code>let</code> | No | <code>"end" | "front"</code> | <code>"end"</code> | -- |
|
||||
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
||||
| :-------- | :------- | :--------------- | :------- | ---------------------------------------- | ------------------ | -------------------------------- |
|
||||
| clamp | No | <code>let</code> | No | <code>"end" | "front"</code> | <code>"end"</code> | Specify the truncation direction |
|
||||
| tag | No | <code>let</code> | No | <code>keyof HTMLElementTagNameMap</code> | <code>"p"</code> | Specify the tag name |
|
||||
|
||||
### Slots
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue