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

Version Path
foreman_templates-10.0.2 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-10.0.1 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-10.0.0 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.5.1 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.5.0 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.3.3 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.3.2 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.3.1 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.4.0 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.3.0 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.2.0 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.1.0 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.0.2 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.0.1 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-9.0.0 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-7.0.7 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-8.0.0 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-7.0.6 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-7.0.5 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js
foreman_templates-7.0.4 webpack/components/NewTemplateSync/components/TextButtonField/CheckboxField.js