vijayst
vijayst

Reputation: 21846

Change the background color of a DIV using react antd package

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">

Upvotes: 1

Views: 819

Answers (1)

benjycui
benjycui

Reputation: 384

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

Upvotes: 3

Related Questions