mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 00:08:27 +08:00
e188445b22
* fix(popover): 'arrow. pointAtCenter' misalignment error * chore: add debug demo * chore: update snaphots * chore: update * chore: Reverse components/popover/demo/basic.tsx * chore: update snaphots * chore: skip debug demo test * chore: update demo * chore: update snapshot * chore: skip debug demo test ref: https://github.com/ant-design/ant-design/pull/50260#discussion_r1708926635
19 lines
429 B
TypeScript
19 lines
429 B
TypeScript
import * as React from 'react';
|
|
|
|
import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest';
|
|
|
|
demoTest('popover', {
|
|
testRootProps: false,
|
|
skip: ['shift.tsx', 'arrow-point-at-center.tsx'],
|
|
});
|
|
|
|
rootPropsTest(
|
|
'popover',
|
|
(Popover, props) => (
|
|
<Popover {...props} title="Bamboo" content="Little">
|
|
<span />
|
|
</Popover>
|
|
),
|
|
{ findRootElements: () => document.querySelector('.ant-popover')! },
|
|
);
|