@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
34 lines • 1.1 kB
JavaScript
import PropTypes from 'prop-types';
export const propTypes = {
children: PropTypes.node,
className: PropTypes.string,
dataId: PropTypes.string,
dataSelectorId: PropTypes.string,
eleRef: PropTypes.func,
hoverType: PropTypes.oneOf(['default', 'border', 'bg']),
iconClass: PropTypes.string,
iconName: PropTypes.string,
iconSize: PropTypes.string,
size: PropTypes.oneOf(['xsmall', 'small', 'medium', 'large', 'xlarge']),
isActive: PropTypes.bool,
isBold: PropTypes.bool,
isDisabled: PropTypes.bool,
isNeedEffect: PropTypes.bool,
onClick: PropTypes.func,
onMouseDown: PropTypes.func,
onMouseOver: PropTypes.func,
palette: PropTypes.oneOf(['primary', 'primaryFilled', 'default']),
title: PropTypes.string,
tourId: PropTypes.string,
isNeedEffect: PropTypes.bool,
needButtonTag: PropTypes.bool,
a11y: PropTypes.shape({
ariaHaspopup: PropTypes.bool,
ariaExpanded: PropTypes.bool,
ariaLabel: PropTypes.string,
ariaControls: PropTypes.string,
ariaLabelledby: PropTypes.string
}),
dataIsHtml: PropTypes.bool,
customProps: PropTypes.object
};