@gpa-gemstone/react-forms
Version:
React Form modules for gpa webapps
25 lines (24 loc) • 753 B
TypeScript
import * as React from 'react';
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[];
/**
* Optional Style to be applied to the form-group container div
*/
Style?: React.CSSProperties;
}
export default function RadioButtons<T>(props: IProps<T>): JSX.Element;
export {};