Change the background color of a DIV using react antd package

759 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 answers

2
benjycui On BEST ANSWER

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