UNPKG

@zohodesk/components

Version:

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

42 lines 1.39 kB
import PropTypes from 'prop-types'; export const propTypes = { active: PropTypes.bool, activeStyle: PropTypes.oneOf(['tick', 'minus']), checked: PropTypes.bool, dataId: PropTypes.string, dataSelectorId: PropTypes.string, disabled: PropTypes.bool, disabledTitle: PropTypes.string, getRef: PropTypes.func, getContainerRef: PropTypes.func, id: PropTypes.string, isFilled: PropTypes.bool, isClipped: PropTypes.bool, isReadOnly: PropTypes.bool, labelPalette: PropTypes.oneOf(['default', 'primary', 'secondary', 'danger', 'mandatory']), labelSize: PropTypes.oneOf(['small', 'medium', 'large']), name: PropTypes.string, onChange: PropTypes.func, palette: PropTypes.oneOf(['primary', 'danger']), size: PropTypes.oneOf(['small', 'medium']), text: PropTypes.string, title: PropTypes.string, variant: PropTypes.oneOf(['default', 'primary']), customClass: PropTypes.shape({ customCheckBox: PropTypes.string, customLabel: PropTypes.string, customCBoxSize: PropTypes.string, customTickSize: PropTypes.string }), a11y: PropTypes.shape({ ariaLabel: PropTypes.string, ariaLabelledby: PropTypes.string, ariaHidden: PropTypes.bool, ariaChecked: PropTypes.bool }), customProps: PropTypes.shape({ CheckBoxProps: PropTypes.object, LabelProps: PropTypes.object }), renderRightPlaceholderNode: PropTypes.node };