Skip to content
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

Helper text update #20

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

bretep
Copy link

@bretep bretep commented Jun 24, 2019

Might want to check out the dependancies in package.json. I am currently using this build with no problems.

This builds on #8

phjardas and others added 5 commits March 7, 2019 15:55
If one passes a `helperText` to `TextField` it should actually be
rendered if no error is present. If there is an error, the error message
should be rendered instead.

The TypeScript compiler complained that `FieldRenderProps` is a generic
type but was used without type information. So I've added the types of
the corresponding `HTML*Element`s.

While at it I've also added the properties of the corresponding MUI
components to the properties to make the `...rest` properties type-safe.

I've exported the properties together with their components.

Finally I've added `.editorconfig` and `.prettierrc` to make formatting
more consistent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants