carbon-components-svelte
Version:
Svelte implementation of the Carbon Design System
32 lines (26 loc) • 735 B
TypeScript
import type { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
type RestProps = SvelteHTMLElements["div"];
export interface StructuredListCellProps extends RestProps {
/**
* Set to `true` to use as a header
* @default false
*/
head?: boolean;
/**
* Set to `true` to prevent wrapping
* @default false
*/
noWrap?: boolean;
[key: `data-${string}`]: any;
}
export default class StructuredListCell extends SvelteComponentTyped<
StructuredListCellProps,
{
click: WindowEventMap["click"];
mouseover: WindowEventMap["mouseover"];
mouseenter: WindowEventMap["mouseenter"];
mouseleave: WindowEventMap["mouseleave"];
},
{ default: {} }
> {}