@e-group/material-form
Version:
Custom react components for integrate redux-form.
24 lines (23 loc) • 643 B
TypeScript
export default RadioInputGroupField;
declare function RadioInputGroupField({ input: { value, onChange }, meta: { touched, invalid, error }, options, error: errorProp, helperText, ...other }: {
[x: string]: any;
input: {
value: any;
onChange: any;
};
meta: {
touched: any;
invalid: any;
error: any;
};
options: any;
error: any;
helperText: any;
}): JSX.Element;
declare namespace RadioInputGroupField {
namespace propTypes {
const input: PropTypes.Validator<object>;
const meta: PropTypes.Validator<object>;
}
}
import PropTypes from "prop-types";