Popover component backdrop color #42894
vitalijalbu
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
in import { ConfigProvider, Popover } from 'antd';
import React from 'react';
const content = (
<div>
<p>Content</p>
<p>Content</p>
</div>
);
const App: React.FC = () => (
<ConfigProvider
theme={{
components: {
Popover: {
colorBgElevated: 'red' // here
},
},
}}
>
<Popover content={content} title="Title">
<button type="button">Hover me</button>
</Popover>
</ConfigProvider>
);
export default App; |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @zombieJ really would fine to add the backdrop layer for popover component, for a better UI.
Demo: https://tripfinder-hotel.vercel.app/listing
Beta Was this translation helpful? Give feedback.
All reactions