Formik: How to set className prop of ErrorMessage component?

Created on 1 Nov 2018  路  3Comments  路  Source: formium/formik

I can't set className of ErrorMessage when using typescript. cause is className is not defined in ErrorMessage interface.

Thanks.

Most helpful comment

Yes. i think it's enough. can i help this issue?

Ya sure. Please add a PR for the fix.

All 3 comments

Thanks for pointing out the reason for your issue.
Will it be enough to add className to it's interface?

Yes. i think it's enough. can i help this issue?

Yes. i think it's enough. can i help this issue?

Ya sure. Please add a PR for the fix.

Was this page helpful?
0 / 5 - 0 ratings