diff --git a/example/components/container/Container.js b/example/components/container/Container.js index e97bcc9..55202e4 100644 --- a/example/components/container/Container.js +++ b/example/components/container/Container.js @@ -44,7 +44,7 @@ export function Container() {
- +
diff --git a/index.js b/index.js index 046c98a..47a7901 100644 --- a/index.js +++ b/index.js @@ -97,7 +97,8 @@ ReactImageZoom.propTypes = { offset: _propTypes2.default.object, zoomStyle: _propTypes2.default.string, zoomLensStyle: _propTypes2.default.string, - zoomPosition: _propTypes2.default.oneOf(['top', 'left', 'bottom', 'right', 'original']) + zoomPosition: _propTypes2.default.oneOf(['top', 'left', 'bottom', 'right', 'original']), + alt: _propTypes2.default.string, }; exports.default = ReactImageZoom; diff --git a/src/react-image-zoom.js b/src/react-image-zoom.js index 73d51e3..69a4871 100644 --- a/src/react-image-zoom.js +++ b/src/react-image-zoom.js @@ -55,7 +55,8 @@ ReactImageZoom.propTypes = { offset: PropTypes.object, zoomStyle: PropTypes.string, zoomLensStyle: PropTypes.string, - zoomPosition: PropTypes.oneOf(['top', 'left', 'bottom', 'right', 'original']) + zoomPosition: PropTypes.oneOf(['top', 'left', 'bottom', 'right', 'original']), + alt: PropTypes.string, }; export default ReactImageZoom;