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

Inject custom css style to Input component #4

Open
ReactNextTest opened this issue Mar 4, 2019 · 0 comments
Open

Inject custom css style to Input component #4

ReactNextTest opened this issue Mar 4, 2019 · 0 comments

Comments

@ReactNextTest
Copy link

I am trying to build a registration Form using Input component from react-advanced-form-addons.

Can able to build fundamental registration page with all the required validation.

But finally stuck with Injecting custom css/style to Input component (bold and font color), since it involve styled component which create style dynamically, unable to set my own style in the production mode, ie NODE_ENV='production', ex. display:block, but which works fine in NODE_ENV='development'.

And also since it generates

tag for validation error, don't have freedom to set/apply my won style.

Please let me know how to add custom css/styles to or

components.

If there is no solution I have move to other solution. help me out to resolve the issue.

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

No branches or pull requests

1 participant