UNPKG

@zohodesk/dot

Version:

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

40 lines 1.2 kB
import PropTypes from 'prop-types'; export const propTypes = { dataSelectorId: PropTypes.string, hideMessage: PropTypes.func, message: PropTypes.string, onClick: PropTypes.func, showMessage: PropTypes.bool, type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error', 'primary']), i18nKeys: PropTypes.object, customProps: PropTypes.shape({ ExtraProps: PropTypes.object }), id: PropTypes.number, hideTime: PropTypes.number, needAutoClose: PropTypes.bool, isCollapseView: PropTypes.bool, shadowCount: PropTypes.number, needShadow: PropTypes.bool }; export const UI_propTypes = { dataSelectorId: PropTypes.string, closeTitle: PropTypes.string, message: PropTypes.string, onClick: PropTypes.func, type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error', 'primary']), customProps: PropTypes.shape({ ExtraProps: PropTypes.object }), needShadow: PropTypes.bool, shadowCount: PropTypes.number, id: PropTypes.number, onClose: PropTypes.func }; export const new_propTypes = { Element: PropTypes.element, isClose: PropTypes.bool, onPortalClose: PropTypes.func, autoClose: PropTypes.bool, hideTime: PropTypes.string };