1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 19:29:56 +00:00

use seafile-react-image-lightbox (#4413)

This commit is contained in:
Michael An
2020-01-14 13:40:59 +08:00
committed by Daniel Pan
parent 30b6a61dc8
commit c1b2b725f0
3 changed files with 37 additions and 27 deletions

View File

@@ -2,8 +2,8 @@ import React, { Fragment } from 'react';
import PropTypes from 'prop-types';
import { gettext } from '../../utils/constants';
import Lightbox from 'react-image-lightbox';
import 'react-image-lightbox/style.css';
import Lightbox from '@seafile/react-image-lightbox';
import '@seafile/react-image-lightbox/style.css';
const propTypes = {
imageItems: PropTypes.array.isRequired,