Stateless Drawer

The StatelessDrawer component is a container that can expand and contract as needed. "Stateless" means that the opened or closedness of the component is not managed within its state, but must be determined by the passed props.

SyntaxError: Unexpected token (3:8)
1 : return (React.createElement(
2 : class StatelessDrawerExample extends Component {
3 :   state = { open: true };