@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
35 lines • 1.19 kB
JavaScript
import PropTypes from 'prop-types';
export const propTypes = {
animated: PropTypes.bool,
autoFocus: PropTypes.bool,
borderColor: PropTypes.oneOf(['transparent', 'default']),
dataId: PropTypes.string,
dataSelectorId: PropTypes.string,
getRef: PropTypes.func,
htmlId: PropTypes.string,
isDisabled: PropTypes.bool,
isReadOnly: PropTypes.bool,
maxLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
needAppearance: PropTypes.bool,
needBorder: PropTypes.bool,
needEffect: PropTypes.bool,
needReadOnlyStyle: PropTypes.bool,
onBlur: PropTypes.func,
onChange: PropTypes.func,
onFocus: PropTypes.func,
onKeyDown: PropTypes.func,
placeHolder: PropTypes.string,
resize: PropTypes.oneOf(['horizontal', 'vertical', 'both', 'none']),
size: PropTypes.oneOf(['xsmall', 'small', 'xmedium', 'medium', 'large', 'default']),
text: PropTypes.string,
variant: PropTypes.oneOf(['default', 'primary']),
customClass: PropTypes.string,
a11y: PropTypes.shape({
ariaLabel: PropTypes.string,
ariaLabelledby: PropTypes.string
}),
isFocus: PropTypes.bool,
rows: PropTypes.number,
cols: PropTypes.number,
customAttributes: PropTypes.object
};