Make sure antd is installed correctly and it's visible in your package.json it should be there

"antd": "3.19.2" assuming you ran npm i antd

as well as importing it in your component with

import { DatePicker } from 'antd';

Then import the style manually in your component

import 'antd/dist/antd.css';

Related Query

More Query from same tag