diff options
author | bob <bcz@cs.brown.edu> | 2019-02-01 11:37:41 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-02-01 11:37:41 -0500 |
commit | ba9ef04e48d874124ce149c91bd49dcae394a82e (patch) | |
tree | 482e679177443094d6540bf2ce8d78a5bd6b620c /src/views/nodes/ImageBox.tsx | |
parent | 3b0c9a8a3282eb3c04123985a0512592fe0affae (diff) |
from kast
Diffstat (limited to 'src/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/views/nodes/ImageBox.tsx | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/views/nodes/ImageBox.tsx b/src/views/nodes/ImageBox.tsx index 5c0db6cab..4535cef98 100644 --- a/src/views/nodes/ImageBox.tsx +++ b/src/views/nodes/ImageBox.tsx @@ -1,20 +1,10 @@ -import { action, IReactionDisposer, reaction } from "mobx"; -import { baseKeymap } from "prosemirror-commands"; -import { history, redo, undo } from "prosemirror-history"; -import { keymap } from "prosemirror-keymap"; -import { schema } from "prosemirror-schema-basic"; -import { EditorState, Transaction } from "prosemirror-state"; -import { EditorView } from "prosemirror-view"; -import { Document } from "../../fields/Document"; -import { Opt } from "../../fields/Field"; -import { Key, KeyStore } from "../../fields/Key"; -import { TextField } from "../../fields/TextField"; + +import Lightbox from 'react-image-lightbox'; +import 'react-image-lightbox/style.css'; // This only needs to be imported once in your app import { SelectionManager } from "../../util/SelectionManager"; -import { DocumentView, DocumentFieldViewProps } from "./DocumentView"; +import { DocumentFieldViewProps } from "./DocumentView"; import "./ImageBox.scss"; import React = require("react") -import Lightbox from 'react-image-lightbox'; -import 'react-image-lightbox/style.css'; // This only needs to be imported once in your app interface ImageBoxState { photoIndex: number, |