@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
42 lines • 1.24 kB
JavaScript
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']),
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,
onClose: PropTypes.func,
closeTitle: PropTypes.string,
hideMessage: PropTypes.func,
message: PropTypes.string,
onClick: PropTypes.func,
type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error']),
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
};