0

I´m using a regular react styleguidist and tried to use it with ant design. But the components are not looking like they are supposed to. I installed antd in the project also.

Project Screenshot

I have not really a clue what could be the mistake?

wellos2
  • 23
  • 4

2 Answers2

0

I think you forgot to include antd(theme) antd.css

import your antd style guide like below in your root component.

import 'antd/dist/antd.css';

sathish kumar
  • 1,477
  • 1
  • 11
  • 18
0

You need to import antd.css check out How to import whole antd style or How to use in create-react-app docs.

import "antd/dist/antd.css";
Dennis Vash
  • 50,196
  • 9
  • 100
  • 118