ant-design/components/checkbox/demo/debug-disable-popover.tsx
二货爱吃白萝卜 ff9237064d
fix: Checkbox disabled should support Tooltip (#39829)
* docs: update demo

* test: Update snapshot
2022-12-26 23:35:18 +08:00

13 lines
261 B
TypeScript

import React from 'react';
import { Checkbox, Popover } from 'antd';
const App: React.FC = () => (
<div style={{ padding: 56 }}>
<Popover content="xxxx" trigger="hover">
<Checkbox disabled checked />
</Popover>
</div>
);
export default App;