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

39 lines 1.26 kB
import PropTypes from 'prop-types'; export default { htmlFor: PropTypes.string, text: PropTypes.string, onClick: PropTypes.func, a11yAttributes: PropTypes.shape({ container: PropTypes.object, label: PropTypes.object }), tagAttributes: PropTypes.shape({ container: PropTypes.object, label: PropTypes.object }), customProps: PropTypes.shape({ container: PropTypes.object, label: PropTypes.object }), customId: PropTypes.string, testId: PropTypes.string, customClass: PropTypes.shape({ container: PropTypes.string, label: PropTypes.string }), requiredType: PropTypes.oneOf(['asterisk', 'text']), shouldHighlightRequired: PropTypes.bool, isClipped: PropTypes.bool, isRequired: PropTypes.bool, isDisabled: PropTypes.bool, isReadOnly: PropTypes.bool, size: PropTypes.oneOf(['small', 'medium']), palette: PropTypes.oneOf(['default', 'secondary']), renderLeftPlaceholderNode: PropTypes.oneOfType([PropTypes.node, PropTypes.func]), renderRightPlaceholderNode: PropTypes.oneOfType([PropTypes.node, PropTypes.func]), fontWeight: PropTypes.oneOf(['regular', 'semibold']), i18nKeys: PropTypes.shape({ requiredText: PropTypes.string }), layout: PropTypes.oneOf(['inline', 'block']) };