import FormAbstract, { FormAbstractProps } from './FormAbstract'; import ActionAbstract from '../../action/ActionAbstract'; import { RadioButtonList } from './RadioButton'; export type RadioButtonGroupProps = FormAbstractProps & { action?: ActionAbstract; list: RadioButtonList[]; question?: string; showOthersOption?: boolean; othersText?: string; othersPlaceholder?: string; buttonText?: string; othersLabel?: string; url: string; route?: string; }; export default class RadioButtonGroup extends FormAbstract { action?: ActionAbstract; list: RadioButtonList[]; question?: string; showOthersOption?: boolean; othersText?: string; othersPlaceholder?: string; othersKey: string; buttonText?: string; othersLabel?: string; url: string; route?: string; constructor(props: RadioButtonGroupProps); }