content: import React from 'react';
  import Snackbar from 'material-ui/Snackbar';
  import RaisedButton from 'material-ui/RaisedButton';
  
  export default class SnackbarExampleSimple extends React.Component {
  
    constructor(props) {
      super(props);
      this.state = {
        open: false,
      };
    }
  
    handleTouchTap = () => {
      this.setState({
        open: true,
      });
    };
  
    handleRequestClose = () => {
      this.setState({
        open: false,
      });
    };
  
    render() {
      return (
        <div>
          <RaisedButton
            onTouchTap={this.handleTouchTap}
            label="Add to my calendar"
          />
          <Snackbar
            open={this.state.open}
            message="Event added to your calendar"
            autoHideDuration={4000}
            onRequestClose={this.handleRequestClose}
          />
        </div>
      );
    }
  }
  