react-theming / storybook-addon-material-ui

Addon for storybook wich wrap material-ui components into MuiThemeProvider. :page_with_curl: This helps and simplifies development of material-ui based components.

Home Page:https://github.com/sm-react/storybook-addon-material-ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong PropType

snaumov opened this issue · comments

Hi,

getting small propType warning

Warning: Failed prop type: Invalid prop themesInitList of type array supplied to MuiTheme, expected function.
in MuiTheme

Got the same results on fresh repo.

Hi @snaumov, what version of addon do you use?

@usulpro the latest, 0.9.0-alpha.8

@snaumov thanks for reporting, I'll check it and fix with the next release

commented

@usulpro Thanks for your great work. Just wondering when will be the next release?

Just to add that I am getting this error when calling addDecorator(muiTheme([MyCustomTheme])) in config.js

MyCustomTheme is the result of createMuiTheme

Thanks!
D

@agentlewis Thanks, Guys! I hope next release will be in 1-2 weeks

0.9.0-alpha.14 is released. It exposes new functionality and bug fixes