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

44 lines 1.53 kB
import PropTypes from 'prop-types'; import { propTypes as TypographyPropTypes } from "../../Typography/props/propTypes"; export const propTypes = { active: PropTypes.bool, checked: PropTypes.bool, disabled: PropTypes.bool, secondaryText: PropTypes.string, disabledTitle: PropTypes.string, getRef: PropTypes.func, id: PropTypes.string, isFilled: PropTypes.bool, isReadOnly: PropTypes.bool, labelPalette: PropTypes.oneOf(['default', 'primary', 'danger', 'mandatory']), labelSize: PropTypes.oneOf(['small', 'medium', 'large']), name: PropTypes.string, palette: PropTypes.oneOf(['primary', 'danger']), size: PropTypes.oneOf(['small', 'medium']), title: PropTypes.string, value: PropTypes.string, variant: PropTypes.oneOf(['primary', 'default']), customClass: PropTypes.shape({ customRadioWrap: PropTypes.string, customRadio: PropTypes.string, customLabel: PropTypes.string }), customProps: PropTypes.exact({ ContainerProps: PropTypes.object, LabelProps: PropTypes.object, secondaryTextProps: PropTypes.exact(TypographyPropTypes) }), a11y: PropTypes.shape({ ariaChecked: PropTypes.bool, ariaHidden: PropTypes.bool, role: PropTypes.string, tabIndex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), ariaLabelledby: PropTypes.string, ariaLabel: PropTypes.string, ariaReadonly: PropTypes.bool }), children: PropTypes.node, onChange: PropTypes.func, text: PropTypes.string, renderRightPlaceholderNode: PropTypes.node };