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

[RFR] Migrate NullableBooleanInput to TypeScript #3523

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented Aug 13, 2019

Follow #3522

@djhi djhi added this to the 3.0.0 milestone Aug 13, 2019
@djhi djhi force-pushed the nullable-boolean-input-typescript branch from a76c4f9 to 2cff61e Compare August 14, 2019 16:16
@@ -38,7 +40,7 @@ const NullableBooleanInput = ({
validate,
...rest
}) => {
const classes = useStyles();
const classes = useStyles({});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curiosity, but why is the impact of the brackets as arguments of useStyles?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a nutshell, it's a workaround for TypeScript

@fzaninotto fzaninotto merged commit 8cdd8ce into next Aug 19, 2019
@fzaninotto fzaninotto deleted the nullable-boolean-input-typescript branch August 19, 2019 12:26
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.

3 participants