@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
35 lines • 1.06 kB
JavaScript
import PropTypes from 'prop-types';
export const propTypes = {
customTextClass: PropTypes.string,
dataId: PropTypes.string,
iconClass: PropTypes.string,
iconColor: PropTypes.string,
iconName: PropTypes.string,
iconSize: PropTypes.string,
initial: PropTypes.string,
isLocked: PropTypes.bool,
isPaid: PropTypes.bool,
isPortal: PropTypes.bool,
name: PropTypes.string,
needDelete: PropTypes.bool,
needTitle: PropTypes.bool,
onClick: PropTypes.func,
onDelete: PropTypes.func,
palette: PropTypes.oneOf(['primary', 'secondary', 'info', 'default']),
size: PropTypes.string,
src: PropTypes.string,
textPalette: PropTypes.oneOf(['white', 'black']),
title: PropTypes.string,
dataSelectorId: PropTypes.string,
alternateSrc: PropTypes.string,
i18nKeys: PropTypes.shape({
paidTitle: PropTypes.string,
portalTitle: PropTypes.string,
lockTitle: PropTypes.string
}),
customProps: PropTypes.shape({
AvatarUserProps: PropTypes.object,
AvatarIconProps: PropTypes.object,
AvatarProps: PropTypes.object
})
};