-
Notifications
You must be signed in to change notification settings - Fork 227
How can i transfer material-ui properties with typescript #197
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
Comments
I see you are using a material-ui version that is v0.19.4 or earlier, I donot/have not worked with TypeScript before, and I did not see any definition for Also, I found this via stackoverflow, the second comment seems to give some more comprehensive answers for setting up the DefinitelyTyped package for use with material-ui, namely the inclusion of the @types/react-tap-event-plugin which may be a contributing factor to your implementation of |
From my understanding, Typescript doesn't generic React component markup very well microsoft/TypeScript#3960. I use it this way:
|
@bigbearzhu, could you outline the definitions for the I've tried the following to resolve the issue, but without success:
But it doesn't work. Errors for the Errors for the Errors for the I use |
This is strange for not being able to find the module. Do you have |
@bigbearzhu, I use |
I want to transfer material-ui properties with typescript, such as:
But i got an error
Field does not has attribute "floatingLabelText"
. Does there have any example use with typescript ? anyone help 🥇The text was updated successfully, but these errors were encountered: