Closed Atom735 closed 3 years ago
makeStyles
is a custom hook within the Mui JS library and is outside the scope of what this library supports. It would require a JS interop layer to handle the css-in-js engine that the Mui JS components make use of.
The hooks in this library allow you to write React function components in Dart. They do not make it so that you can make use of hooks written in JS components.
I tryed to rewrite Sign-in template from Material-UI with dart... And i had a problem with JSS... Material-UI had a function
makeStyles
, who return function of style generator. I need to get class names and need to study work with it. How i can link it function with my class-component and use him members in props?