@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
22 lines • 754 B
JavaScript
import PropTypes from 'prop-types';
import { ContainerProps } from "../../../Layout/props/propTypes";
export default {
isActive: PropTypes.bool,
isDisabled: PropTypes.bool,
isReadOnly: PropTypes.bool,
hasEffect: PropTypes.bool,
hasPadding: PropTypes.bool,
title: PropTypes.string,
dataId: PropTypes.string,
customClass: PropTypes.string,
customProps: PropTypes.shape({ ...ContainerProps
}),
onClick: PropTypes.func,
size: PropTypes.oneOf(['auto', 'medium', 'xmedium']),
border: PropTypes.oneOf(['bottom', 'all', 'none']),
borderColor: PropTypes.oneOf(['default', 'dark', 'error', 'transparent']),
children: PropTypes.node,
onKeyDown: PropTypes.func,
a11yAttributes: PropTypes.object,
tagAttributes: PropTypes.object
};