carbon-components-svelte/types/Tile/RadioTileGroup.d.ts
Richard O'flynn 184c3d9219 Some fixes
2020-11-30 21:38:52 +00:00

30 lines
657 B
TypeScript

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