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.

23 lines (21 loc) 638 B
import { compose } from 'redux'; import { withTranslation } from 'react-i18next'; import { withStyles } from '@material-ui/core/styles'; import { withPlugins } from '../extend/withPlugins'; import { WorkspaceOptionsButton } from '../components/WorkspaceOptionsButton'; /** * * @param theme */ var styles = function styles(theme) { return { ctrlBtn: { margin: theme.spacing(1) }, ctrlBtnSelected: { backgroundColor: theme.palette.action.selected } }; }; var enhance = compose(withStyles(styles), withTranslation(), withPlugins('WorkspaceOptionsButton')); export default enhance(WorkspaceOptionsButton);