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.

37 lines (27 loc) 862 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _redux = require("redux"); var _reactI18next = require("react-i18next"); var _styles = require("@material-ui/core/styles"); var _withPlugins = require("../extend/withPlugins"); var _WorkspaceOptionsButton = require("../components/WorkspaceOptionsButton"); /** * * @param theme */ var styles = function styles(theme) { return { ctrlBtn: { margin: theme.spacing(1) }, ctrlBtnSelected: { backgroundColor: theme.palette.action.selected } }; }; var enhance = (0, _redux.compose)((0, _styles.withStyles)(styles), (0, _reactI18next.withTranslation)(), (0, _withPlugins.withPlugins)('WorkspaceOptionsButton')); var _default = enhance(_WorkspaceOptionsButton.WorkspaceOptionsButton); exports["default"] = _default;