Reputation: 413
I'm trying to use a timepicker from Antd and for some reason it's not rendering correctly. Here is a codesandbox. It doesn't look how it is supposed to and when you try to select a time you get a weird bug. I get a similar issue in vs code when I try locally. Any ideas?
Upvotes: 0
Views: 554
Reputation: 6398
Not sure why the sample code on the documentation doesn't mention that but if you see the Codesandbox link mentioned in the documentation itself you will find this CSS being included:
import 'antd/dist/antd.css';
Which you need to import too to fix the design issue you are facing.
Upvotes: 1