-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Background url asset #172
Comments
@HBCharles did you figure it out? |
Turns out it's a basic thing :) import showPass from 'ic-show-pass.svg'; and then background: url(${props => (props.type === 'password') ? showPass : hidePass}) no-repeat; or whatever you were doing |
What worked for me was:
|
This was referenced Nov 6, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm moving all my css code to emotion. The background url doesn't find my assets in the public folder. Is there any configuration to make it working ?
The text was updated successfully, but these errors were encountered: