how to add a component in ant design code example
Example: ant design not working in react js
Add @import '~antd/dist/antd.css';
To the top of either/both of App.css and Index.css.
Add @import '~antd/dist/antd.css';
To the top of either/both of App.css and Index.css.