Change the background color of a DIV using react antd package

799 Views Asked by At

I am using react antd package for styling the app. How do I style the div with the default background color in antd? Below is the bootstrap way of doing it.

<div className="bg-default">
1

There are 1 best solutions below

2
On BEST ANSWER

You can import LESS variables from antd/lib/style/themes/default