You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in using antd date-picker, but after I referenced that component along with its css (modularized version, i.e. only import 'antd/lib/date-picker/style'), my entire website has got the antd styles, like font-size, color..etc. This is not acceptable for a commercial website.
is it possible to limit antd component css/less to the component itself?
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
May 12, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What problem does this feature solve?
I'm interested in using antd date-picker, but after I referenced that component along with its css (modularized version, i.e. only
import 'antd/lib/date-picker/style'
), my entire website has got the antd styles, like font-size, color..etc. This is not acceptable for a commercial website.is it possible to limit antd component css/less to the component itself?
What does the proposed API look like?
here is an example that won't have a global css impact
https://github.com/Hacker0x01/react-datepicker
The text was updated successfully, but these errors were encountered: