UNPKG

@zohodesk/components

Version:

Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development

45 lines 1.57 kB
import PropTypes from 'prop-types'; import { propTypes as TypographyPropTypes } from "../../Typography/props/propTypes"; export const propTypes = { active: PropTypes.bool, activeStyle: PropTypes.oneOf(['tick', 'minus']), checked: PropTypes.bool, dataId: PropTypes.string, dataSelectorId: PropTypes.string, secondaryText: 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, secondaryTextProps: PropTypes.exact(TypographyPropTypes) }), renderRightPlaceholderNode: PropTypes.node };