I am very new to UI libraries and CSS in React. I'm using a data picker from Ant Design:
They provide CodePen examples and in the CSS tab you can see this:
@import 'antd/dist/antd.css';
However, when I add this to my CSS stylesheet which I import into the component using `import './Component.css'; I get the error "Module not found: Can't resolve './antd/dist/antd.css'" in the components folder.
I have installed the npm package but can't get the CSS to work.
What am I doing wrong?
Many thanks.