Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import {isNumber, isString} from 'lodash';
import {PropTypes} from '@material-ui/core';
import {
createStyles,
Theme,
withStyles,
WithStyles
} from '@material-ui/core/styles';
import TextField from '@material-ui/core/TextField';
import Typography from '@material-ui/core/Typography';
// TODO: Import properly after https://github.com/mui-org/material-ui/issues/11736 is fixed
// tslint:disable-next-line: no-var-requires
const Slider = require('@material-ui/lab/Slider').default;
const styles = (theme: Theme) => createStyles({
root: {
display: 'inline-flex',
flexDirection: 'column',
minWidth: 0
},
slider: {
// TODO: Remove when https://github.com/mui-org/material-ui/issues/13455 is fixed
padding: 24,
margin: -24,
overflow: 'hidden',
boxSizing: 'content-box'
},
marginNormal: {