@zohodesk/components
Version:
In this Package, we Provide Some Basic Components to Build Web App
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
};