UNPKG

carbon-components-svelte

Version:
32 lines (26 loc) 735 B
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: {} } > {}