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

30 lines
654 B
TypeScript

/// <reference types="svelte" />
export interface RadioTileGroupProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["fieldset"]> {
/**
* Specify the selected tile value
*/
selectedValue?: any;
/**
* 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;
}