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

36 lines 1.08 kB
import PropTypes from 'prop-types'; export default { name: PropTypes.string, value: PropTypes.string, id: PropTypes.string, size: PropTypes.oneOf(['small', 'medium', 'large', 'xlarge']), isChecked: PropTypes.bool, isDefaultChecked: PropTypes.bool, isDisabled: PropTypes.bool, isReadOnly: PropTypes.bool, onChange: PropTypes.func, hasStateIndication: PropTypes.bool, label: PropTypes.string, labelPlacement: PropTypes.oneOf(['start', 'end', 'top', 'bottom']), labelSize: PropTypes.oneOf(['xsmall', 'small', 'medium', 'large']), title: PropTypes.string, customProps: PropTypes.shape({ container: PropTypes.object, label: PropTypes.object }), tagAttributes: PropTypes.shape({ container: PropTypes.object, switch: PropTypes.object }), a11yAttributes: PropTypes.shape({ container: PropTypes.object, switch: PropTypes.object, label: PropTypes.object }), i18nKeys: PropTypes.shape({ readOnlyAriaLabel: PropTypes.string }), customId: PropTypes.string, testId: PropTypes.string, customStyle: PropTypes.object };