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.

25 lines (23 loc) 608 B
import { compose } from 'redux'; import { withTranslation } from 'react-i18next'; import { withStyles } from '@material-ui/core/styles'; import { LocalePicker } from '../components/LocalePicker'; /** * * @param theme * @returns {label: {paddingLeft: number}}} */ var styles = function styles(theme) { return { select: { '&:focus': { backgroundColor: theme.palette.background.paper } }, selectEmpty: { backgroundColor: theme.palette.background.paper } }; }; var enhance = compose(withTranslation(), withStyles(styles)); export default enhance(LocalePicker);