@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
30 lines • 1.07 kB
JavaScript
import PropTypes from 'prop-types';
export const propTypes = {
borderPalette: PropTypes.oneOf(['primary', 'success', 'danger', 'default', 'orange']),
customTextClass: PropTypes.string,
dataId: PropTypes.string,
iconColor: PropTypes.string,
iconName: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
iconSize: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
iconTitle: PropTypes.string,
initial: PropTypes.string,
name: PropTypes.string,
needBackground: PropTypes.bool,
needBorder: PropTypes.bool,
needTitle: PropTypes.bool,
onClick: PropTypes.func,
onIconClick: PropTypes.func,
palette: PropTypes.oneOf(['primary', 'secondary', 'info', 'default']),
showOnHover: PropTypes.bool,
size: PropTypes.string,
dataSelectorId: PropTypes.string,
src: PropTypes.string,
textPalette: PropTypes.oneOf(['white', 'black']),
title: PropTypes.string,
customProps: PropTypes.shape({
AvatarThreadProps: PropTypes.object,
AvatarProps: PropTypes.object
}),
iconClass: PropTypes.string,
getCustomThread: PropTypes.func
};