@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
28 lines • 992 B
JavaScript
import PropTypes from 'prop-types';
import { propTypes as AvatarProps } from "../../Avatar/props/propTypes";
export const propTypes = {
dataId: PropTypes.string,
dataSelectorId: PropTypes.string,
isFilled: PropTypes.bool,
name: PropTypes.string.isRequired,
needTitle: PropTypes.bool,
onClick: PropTypes.func,
palette: PropTypes.oneOf(['primary', 'secondary', 'info']),
size: PropTypes.oneOf(['xxsmall', 'small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge']),
src: PropTypes.string,
textPalette: PropTypes.oneOf(['white', 'black']),
needBorder: PropTypes.bool,
title: PropTypes.string,
customClass: PropTypes.shape({
customAvatar: PropTypes.string,
customAvatarTeam: PropTypes.string
}),
borderOnActive: PropTypes.bool,
borderOnHover: PropTypes.bool,
needInnerBorder: PropTypes.bool,
needDefaultBorder: PropTypes.bool,
customProps: PropTypes.shape({
AvatarTeamProps: PropTypes.object,
AvatarProps: PropTypes.exact(AvatarProps)
})
};