Skip to content

v1.0.0-beta.5

Pre-release
Pre-release

Choose a tag to compare

@oliviertassinari oliviertassinari released this 15 Aug 08:57
· 22535 commits to master since this release
Aug 15, 2017

Big thanks to the 11 contributors who made this release possible.

Breaking changes

This is an effort in the prolongation of #2957 where value/onChange is the idiomatic interface to control a component.

-<Tabs index={0}>
+<Tabs value={0}>
// ...

The primary motivation for this change is simplicity, it's also making our interface closer to
react-jss.

-import { withStyles, createStyleSheet } from 'material-ui/styles';
+import { withStyles } from 'material-ui/styles';

-const styleSheet = createStyleSheet('Button', {
+const styles = {
  root: {
    background: 'red',
  },
-});
+};

// ...

-export default withStyles(styleSheet)(AppContent);
+export default withStyles(styles, { name: 'Button' })(Button);
Component Fixes / Enhancements
Docs
Core