@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
53 lines • 1.79 kB
JavaScript
import PropTypes from 'prop-types';
export const Header_propTypes = {
children: PropTypes.node,
className: PropTypes.string,
closeTitle: PropTypes.string,
dataId: PropTypes.string,
flexible: PropTypes.bool,
getChildren: PropTypes.func,
iconName: PropTypes.string,
iconSize: PropTypes.string,
iconTitle: PropTypes.string,
isIconBold: PropTypes.bool,
onClose: PropTypes.func,
onIconClick: PropTypes.func,
paddingSize: PropTypes.oneOf(['small', 'medium', 'large']),
title: PropTypes.string,
isBoxIcon: PropTypes.bool,
getTitleChildren: PropTypes.func
};
export const Content_propTypes = {
children: PropTypes.node,
className: PropTypes.string,
eleRef: PropTypes.func,
paddingSize: PropTypes.oneOf(['small', 'medium', 'large'])
};
export const Footer_propTypes = {
children: PropTypes.node,
paddingLeftSize: PropTypes.string,
paddingRightClass: PropTypes.string,
size: PropTypes.string
};
export const Drawer_propTypes = {
children: PropTypes.node,
customClass: PropTypes.string,
forwardRef: PropTypes.object,
isActive: PropTypes.bool,
needAutoZindex: PropTypes.bool,
needFreeze: PropTypes.bool,
onBodyClick: PropTypes.func,
onClose: PropTypes.func,
paddingSize: PropTypes.oneOf(['small', 'medium', 'large']),
palette: PropTypes.oneOf(['dark', 'default', 'darkLight', 'plain']),
responsiveId: PropTypes.string,
size: PropTypes.oneOf(['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge', 'xxlarge', 'default']),
subDrawerActive: PropTypes.bool,
subDrawerChildren: PropTypes.func,
subDrawerClass: PropTypes.string,
subDrawerSize: PropTypes.oneOf(['xsmall', 'small', 'medium']),
needFocusScope: PropTypes.bool,
customProps: PropTypes.object,
innerPortalName: PropTypes.string,
a11y: PropTypes.object
};