@itwin/frontend-devtools
Version:
Debug menu and supporting UI widgets
30 lines • 784 B
TypeScript
/** @packageDocumentation
* @module Controls
*/
/** @alpha */
export interface RadioBoxEntry {
value: number | string | undefined;
label: string;
}
/** @alpha */
export type RadioBoxHandler = (value: string, form: HTMLFormElement) => void;
/** @alpha */
export interface RadioBoxProps {
id: string;
entries: RadioBoxEntry[];
handler: RadioBoxHandler;
name?: string;
parent?: HTMLElement;
defaultValue?: number | string;
vertical?: boolean;
}
/** @alpha */
export interface RadioBox {
label?: HTMLLabelElement;
setValue: (newValue: number | string) => boolean;
div: HTMLDivElement;
form: HTMLFormElement;
}
/** @alpha */
export declare function createRadioBox(props: RadioBoxProps): RadioBox;
//# sourceMappingURL=RadioBox.d.ts.map