import * as React from 'react'; /** * Descriptor of a radio button element. */ interface RadioButtonNode { /** * Radio button value. */ id: string | string[] | number; /** * Radio button label. */ label: string; /** * `key` property for radio button wrapper element. If not provided, id.toString() is used instead. */ key?: string | number; /** * Radio button tooltip. */ tooltip?: string; } interface Props { /** * An additional class name to set on the root element. */ className?: string; /** * List of radio button elements to render. */ nodes: RadioButtonNode[]; /** * Handler for when a radio button is selected. */ onChange?: (e: React.ChangeEvent) => void; /** * id of the currently selected RadioButtonNode. */ selected?: string; } /** * A row of radio buttons. */ export declare class RadioButtons extends React.PureComponent { render(): React.ReactFragment; } export {}; //# sourceMappingURL=RadioButtons.d.ts.map