UNPKG

@blueeast/bluerain-plugin-material-ui

Version:

Adds [Material UI](http://www.material-ui.com/#/) theme Provider to BlueRain. Components of material-ui have been developed using a common interface. [https://blueeast.gitbook.io/bluerain-plugin-material-ui](https://blueeast.gitbook.io/bluerain-plugin-mat

43 lines 1.13 kB
"use strict"; // import React from 'react'; // import PropTypes from 'prop-types'; // import { withStyles } from '@material-ui/core/styles'; // import Typography from '@material-ui/core/Typography'; // import Slider from '../Slider.component'; // const styles = { // root: { // width: 300, // }, // slider: { // padding: '22px 0px', // }, // }; // class SimpleSlider extends React.Component<any, any> { // state = { // value: 50, // }; // handleChange = (event: any, value: any) => { // this.setState({ value }); // } // render() { // // const { classes } = this.props; // const { value } = this.state; // return ( // <div> // <Typography id="label">Slider label</Typography> // <div>{value}</div> // <Slider // min={0} // max={100} // defaultValue={6} // value={value} // aria-labelledby="label" // onChange={this.handleChange} // {...this.props} // /> // </div> // ); // } // } // export default SimpleSlider; //# sourceMappingURL=Slider.testComponent.js.map