-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FunctionComponent.Of syntax is not working #65
Comments
I've checked |
@mvsmal hey! |
Hi. Sorry for the delay. Did you check Simple AppBar example? The problem with let appBarWithStyles = withStyles<IClassesProps> (StyleType.Styles styles) [] appBar
let view () =
ReactElementType.create appBarWithStyles createEmpty [] Another issue might be due to partial application. Your |
@mvsmal Thank you! |
Higher-Order component: |
@mvsmal thank you! |
Hey!
Here is syntax for stateful components.
And I've tried to use it with component AppBar. Unfortunately, it's not working but compiles.
Fable.Compiler 2.3.3
Fable.MaterialUI (4.1)
here is example
errors in the browser console:
The text was updated successfully, but these errors were encountered: