vkumov / react-cui-2.0

4 stars 0 forks source link

Slider component doesn't work without also importing rc-slider.css #2

Open ccondry opened 2 years ago

ccondry commented 2 years ago

is there a more user-friendly way of getting Slider to work without having to import the rc-slider.css separately when wanting to use the Slider component?

vkumov commented 2 years ago

Slider is not part of Cisco UI kit, hence separate css. Though, it should be enough to import "@vkumov/react-cui-2.0/css/styles.css"; once in your app. For example, I import it in _app.tsx file in NextJS applications.

That file includes all custom styles which were added