UNPKG

@zohodesk/dot

Version:

In this Library, we Provide Some Basic Components to Build Your Application

22 lines 897 B
import PropTypes from 'prop-types'; let animationValues = ['fade', 'shrink', 'expand', 'slideRight', 'slideDown', 'flyDown']; export const propTypes = { align: PropTypes.oneOf(['horizontal', 'vertical', 'both']), animationName: PropTypes.oneOf(animationValues), childAnimationName: PropTypes.oneOf(animationValues), children: PropTypes.node, customClass: PropTypes.string, forwardRef: PropTypes.object, isActive: PropTypes.bool, isSvgMask: PropTypes.bool, needAutoZindex: PropTypes.bool, onClick: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]), palette: PropTypes.oneOf(['dark', 'default', 'darkLight', 'plain', 'snow']), runOnMount: PropTypes.bool, customStyle: PropTypes.object, zIndex: PropTypes.oneOf(['3', '5', '7', '10']), onAnimateEnter: PropTypes.func, postAnimateStyles: PropTypes.object, onAnimateExit: PropTypes.func }; export default propTypes;