@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
19 lines • 656 B
JavaScript
import PropTypes from 'prop-types';
export const propTypes = {
clipped: PropTypes.bool,
dataId: PropTypes.string,
dataSelectorId: PropTypes.string,
htmlFor: PropTypes.string,
onClick: PropTypes.func,
palette: PropTypes.oneOf(['default', 'primary', 'secondary', 'danger', 'mandatory', 'disable', 'dark']),
size: PropTypes.oneOf(['xsmall', 'small', 'medium', 'large']),
text: PropTypes.string,
title: PropTypes.string,
type: PropTypes.oneOf(['title', 'subtitle']),
variant: PropTypes.oneOf(['primary', 'default']),
customClass: PropTypes.string,
a11y: PropTypes.shape({
tabIndex: PropTypes.string
}),
id: PropTypes.string
};