mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-26 00:26:53 +08:00
18 lines
377 B
TypeScript
18 lines
377 B
TypeScript
import * as React from 'react';
|
|
|
|
import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest';
|
|
|
|
demoTest('popover', {
|
|
testRootProps: false,
|
|
});
|
|
|
|
rootPropsTest(
|
|
'popover',
|
|
(Popover, props) => (
|
|
<Popover {...props} title="Bamboo" content="Little">
|
|
<span />
|
|
</Popover>
|
|
),
|
|
{ findRootElements: () => document.querySelector('.ant-popover')! },
|
|
);
|