UNPKG

mirador

Version:

An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.

20 lines (18 loc) 562 B
import { compose } from 'redux'; import { withStyles } from '@material-ui/core/styles'; import { withPlugins } from '../extend/withPlugins'; import { WorkspaceControlPanelButtons } from '../components/WorkspaceControlPanelButtons'; /** * * @param theme * @returns {{ctrlBtn: {margin: (number|string)}}} */ var styles = function styles(theme) { return { ctrlBtn: { margin: theme.spacing(1) } }; }; var enhance = compose(withStyles(styles), withPlugins('WorkspaceControlPanelButtons')); export default enhance(WorkspaceControlPanelButtons);