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

Fix typage withInput pour tous les composants Form #978

Merged

Conversation

arnaudforaison
Copy link
Contributor

No description provided.

@arnaudforaison arnaudforaison force-pushed the feature/fix_type_onchange branch 2 times, most recently from 4bf59f1 to 884d70b Compare August 5, 2022 15:20
johnmeunier
johnmeunier previously approved these changes Aug 8, 2022
},
};

Choice.displayName = 'EnhancedInputRadio';

export default withInput<Props>(handlers)(Choice);
export default withInput(handlers)(Choice);
Copy link
Contributor

Choose a reason for hiding this comment

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

à terme, on pourrait simplifier :

Suggested change
export default withInput(handlers)(Choice);
export default withInput({ handlers, Component: Choice });

@arnaudforaison arnaudforaison force-pushed the feature/fix_type_onchange branch from f0551f9 to 8976b0c Compare September 13, 2022 14:44
@arnaudforaison arnaudforaison merged commit 4e4428f into AxaFrance:master Sep 13, 2022
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