UNPKG

@zohodesk/components

Version:

In this Package, we Provide Some Basic Components to Build Web App

28 lines 909 B
import PropTypes from 'prop-types'; export const propTypes = { checked: PropTypes.bool, dataId: PropTypes.string, dataSelectorId: PropTypes.string, disableTitle: PropTypes.string, disabled: PropTypes.bool, id: PropTypes.string.isRequired, isReadOnly: PropTypes.bool, labelPalette: PropTypes.oneOf(['default', 'primary', 'secondary', 'danger', 'mandatory']), labelSize: PropTypes.oneOf(['small', 'medium', 'large']), name: PropTypes.string, onChange: PropTypes.func, size: PropTypes.oneOf(['small', 'medium']), text: PropTypes.string, title: PropTypes.string, value: PropTypes.bool, customClass: PropTypes.shape({ customSwitchWrap: PropTypes.string, customSwitch: PropTypes.string, customSwitchSize: PropTypes.string, customLabel: PropTypes.string }), customProps: PropTypes.shape({ SwitchProps: PropTypes.object, LabelProps: PropTypes.object }) };