We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bc11a9 commit 0984bbcCopy full SHA for 0984bbc
1 file changed
web/client/components/geostory/media/Image.jsx
@@ -11,6 +11,15 @@ import Lightbox from 'react-image-lightbox';
11
import objectFitImages from 'object-fit-images';
12
import { withState } from 'recompose';
13
14
+/**
15
+ * Image media component
16
+ * @class
17
+ * @name Image
18
+ * @prop {string} src source of the image
19
+ * @prop {string} fit one of 'cover' or 'contain'
20
+ * @prop {boolean} enableFullscreen enable fullscreen preview with pan and zoom options
21
+ */
22
+
23
class Image extends Component {
24
25
static propTypes = {
0 commit comments