@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
26 lines • 910 B
JavaScript
import PropTypes from 'prop-types';
export const propTypes = {
dataId: PropTypes.string,
dataSelectorId: PropTypes.string,
initial: PropTypes.string,
name: PropTypes.string.isRequired,
needBorder: PropTypes.bool,
needTitle: PropTypes.bool,
onClick: PropTypes.func,
palette: PropTypes.oneOf(['primary', 'secondary', 'info', 'default']),
shape: PropTypes.oneOf(['circle', 'square']),
size: PropTypes.oneOf(['xxsmall', 'small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge']),
src: PropTypes.string,
textPalette: PropTypes.oneOf(['white', 'black']),
title: PropTypes.string,
customClass: PropTypes.string,
alternateSrc: PropTypes.string,
borderOnActive: PropTypes.bool,
borderOnHover: PropTypes.bool,
customProps: PropTypes.shape({
AvatarProps: PropTypes.object
}),
isAnimate: PropTypes.bool,
needInnerBorder: PropTypes.bool,
needDefaultBorder: PropTypes.bool
};