- Welcome
- Self-introductions
- Schedule (Jan 13 alpha / Jan 31 beta / Feb 4 RC ? / Feb 18 Release/Announce?)
- Latest update
- Outstanding UI issues
| import React from 'react'; | |
| import classNames from 'classnames'; | |
| import PropTypes from 'prop-types'; | |
| function stylifier(higherOrderComponent) { | |
| return Component => styles => { | |
| function StyledComponent(props) { | |
| const { classes, className, ...other } = props; | |
| return <Component className={classNames(classes.root, className)} {...other} />; | |
| } | 
| const replacer = function( depth = Number.MAX_SAFE_INTEGER ) { | |
| let objects, stack, keys; | |
| return function(key, value) { | |
| // very first iteration | |
| if (key === '') { | |
| keys = ['root']; | |
| objects = [{keys: 'root', value: value}]; | |
| stack = []; | |
| return value; | |
| } |