carbon-components-svelte/types/Tile/SelectableTileGroup.d.ts
Richard O'flynn a249b6183b Some fixes
2020-11-30 22:14:59 +00:00

37 lines
784 B
TypeScript

/// <reference types="svelte" />
export interface SelectableTileGroupProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["fieldset"]> {
/**
* Specify the selected tile's
* @default []
*/
selectedValues?: any[];
/**
* Set to `true` to disable the tile group
* @default false
*/
disabled?: boolean;
/**
* Set to `true` to enable the light variant
* @default false
*/
light?: boolean;
/**
* Specify the legend text
* @default ""
*/
legend?: string;
}
export default class SelectableTileGroup {
$$prop_def: SelectableTileGroupProps;
$$slot_def: {
default: {};
};
$on(eventname: "select", cb: (event: CustomEvent<any>) => void): () => void;
$on(eventname: string, cb: (event: Event) => void): () => void;
}