@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
22 lines • 628 B
JavaScript
import PropTypes from 'prop-types';
export const propTypes = {
autoFocus: PropTypes.bool,
children: PropTypes.node,
customClass: PropTypes.string,
dataId: PropTypes.string,
disabled: PropTypes.bool,
name: PropTypes.string,
onClick: PropTypes.func,
ref: PropTypes.func,
text: PropTypes.string,
title: PropTypes.string,
type: PropTypes.oneOf(['submit', 'reset', 'button']),
value: PropTypes.string,
a11y: PropTypes.shape({
ariaLabel: PropTypes.string,
ariaHaspopup: PropTypes.bool,
ariaExpanded: PropTypes.bool,
ariaControls: PropTypes.string,
ariaLabelledby: PropTypes.string
})
};