hupe1980 / gatsby-plugin-material-ui

Gatsby plugin for Material-UI with built-in server-side rendering support
MIT License
136 stars 25 forks source link

I cannot pass function in `stylesProvider` #42

Closed kamontat closed 4 years ago

kamontat commented 4 years ago

A plugin option cannot pass function so generateClassName and jss cannot be passed.

for jss I got the error from MakeStyles method said stylesOptions.jss.createStyleSheet is not a function

This might relate to #9

kamontat commented 4 years ago

I just see that I need pathToStylesProvider because of this limitation