React Suite (rsuitejs) CSS conflicts
(Beginner here) I have a react project created with create-react-app, in a module I am importing rsuite (v5) components and styles as following:
import 'rsuite/dist/rsuite.min.css';
import { DateRangePicker, InputPicker } from 'rsuite';
but rsuite overrides my css globally.
I tried to import styles individually
import 'rsuite/DateRangePicker/styles/index.less';
import 'rsuite/InputPicker/styles/index.less';
but nothin开发者_运维问答g happens.
How can I prevent rsuite from overriding my css ?
精彩评论