Sha256: 7191bc21c78f8fdc28cc9b1e1129a47529178f9ec3bb067500f8b1938dadbd58
Contents?: true
Size: 412 Bytes
Versions: 22
Compression:
Stored size: 412 Bytes
Contents
import React from 'react'; import { Checkbox } from 'patternfly-react'; import PropTypes from 'prop-types'; const CheckboxField = ({ input, item, disabled }) => ( <Checkbox {...input} disabled={disabled} checked={input.value} /> ); CheckboxField.propTypes = { input: PropTypes.object.isRequired, item: PropTypes.object.isRequired, disabled: PropTypes.bool.isRequired, }; export default CheckboxField;
Version data entries
22 entries across 22 versions & 1 rubygems