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.

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