@e-group/material-form
Version:
Custom react components for integrate redux-form.
24 lines (23 loc) • 684 B
TypeScript
export default CheckboxInputField;
/**
* A component with Input Field when it checked
*/
declare function CheckboxInputField({ input: { value, onChange }, meta, onChange: onChangeProp, checked: checkedProp, MuiInputProps, ...other }: {
[x: string]: any;
input: {
value: any;
onChange: any;
};
meta: any;
onChange: any;
checked: any;
MuiInputProps: any;
}): JSX.Element;
declare namespace CheckboxInputField {
namespace propTypes {
const input: PropTypes.Validator<object>;
const meta: PropTypes.Validator<object>;
const MuiInputProps: PropTypes.Requireable<object>;
}
}
import PropTypes from "prop-types";