mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
chore: remove Truncate since it does not exist in Carbon v11
This commit is contained in:
parent
90a0baf676
commit
5833536199
13 changed files with 3 additions and 191 deletions
19
types/Truncate/Truncate.svelte.d.ts
vendored
19
types/Truncate/Truncate.svelte.d.ts
vendored
|
@ -1,19 +0,0 @@
|
|||
import type { SvelteComponentTyped } from "svelte";
|
||||
import type { SvelteHTMLElements } from "svelte/elements";
|
||||
|
||||
type RestProps = SvelteHTMLElements["p"];
|
||||
|
||||
export interface TruncateProps extends RestProps {
|
||||
/**
|
||||
* @default "end"
|
||||
*/
|
||||
clamp?: "end" | "front";
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
}
|
||||
|
||||
export default class Truncate extends SvelteComponentTyped<
|
||||
TruncateProps,
|
||||
Record<string, any>,
|
||||
{ default: {} }
|
||||
> {}
|
Loading…
Add table
Add a link
Reference in a new issue