rsuite: Unable to import "rsuite/lib/DateRangePicker/styles"
Versions
| package | version |
|---|---|
react |
16.11.0 |
rsuite |
4.2.0 |
What is the expected behavior?
should be able to import corresponding component CSS like @import “rsuite/lib/DateRangePicker/styles” instead of @import “rsuite/dist/styles/rsuite-default.css”
What is the current behavior?
Failed to find ‘rsuite/lib/DateRangePicker/styles’
What are the steps to reproduce?
Any additional comments? (optional)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 20 (10 by maintainers)
I’m sorry to Comment on this closed issue, but I would love to use this component into our project, but currently, the fact that it forces you to chose between setting up less in your project, or getting your whole css overwritten is a nightmare 😢
People, this is a great lib and a great Datepicker. Why not just adopt regular CSS module imports ?
You may put your own styles after rsuite styles so that rsuite doesn’t overwrite yours.