@gpa-gemstone/react-forms
Version:
React Form modules for gpa webapps
20 lines (19 loc) • 605 B
TypeScript
import { Gemstone } from '@gpa-gemstone/application-typings';
interface IOption extends Gemstone.TSX.Interfaces.ILabelValue<string | number> {
Disabled?: boolean;
}
interface IProps<T> extends Gemstone.TSX.Interfaces.IBaseFormProps<T> {
/**
* Position to display radion buttons in
* @type {'vertical' | 'horizontal'}
* @optional
*/
Position?: ('vertical' | 'horizontal');
/**
* Options for the radion buttons
* @type {IOption[]}
*/
Options: IOption[];
}
export default function RadioButtons<T>(props: IProps<T>): JSX.Element;
export {};