@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
36 lines • 1.05 kB
JavaScript
import PropTypes from 'prop-types';
export const AttachmentImage_propTypes = {
alt: PropTypes.string,
customClass: PropTypes.shape({
customImageClass: PropTypes.string,
customChildrenClass: PropTypes.string
}),
dataId: PropTypes.string,
id: PropTypes.string,
isCover: PropTypes.bool,
onClick: PropTypes.func,
onLoad: PropTypes.func,
onError: PropTypes.func,
src: PropTypes.string,
children: PropTypes.node
};
export const AttachmentViewer_propTypes = {
hideAttachmentViewer: PropTypes.func,
i18nKeys: PropTypes.shape({
nextText: PropTypes.string,
previousText: PropTypes.string,
zoomOutText: PropTypes.string,
zoomInText: PropTypes.string,
newTabText: PropTypes.string,
downloadText: PropTypes.string,
closeText: PropTypes.string,
hideText: PropTypes.string,
showText: PropTypes.string
}),
needDownload: PropTypes.string,
previewObj: PropTypes.object,
responsiveId: PropTypes.string,
maintainZoom: PropTypes.bool,
isActive: PropTypes.bool,
dataId: PropTypes.string
};