import * as React from 'react'; import { ImageControlsProps } from '../types/controls'; import FormControlLabel from '@material-ui/core/FormControlLabel'; import TextField from '@material-ui/core/TextField'; import Typography from '@material-ui/core/Typography'; import Checkbox from '@material-ui/core/Checkbox'; import { ImageUpload } from 'ory-editor-ui'; import { BottomToolbar } from 'ory-editor-ui'; import { darkTheme, default as ThemeProvider } from 'ory-editor-ui/lib/ThemeProvider'; const ImageDefaultControls: React.SFC = props => { const { Renderer, handleImageLoaded, handleImageUploaded, handleChange, readOnly, focused } = props; return (
{!readOnly && focused &&
{props.imageUpload && ( OR )}


} label="Open in new window" />
}
); }; export default ImageDefaultControls;