mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 21:18:01 +08:00
a55195f25b
* demo: update demo * fix: fix * fix: fix * fix: fix
21 lines
390 B
TypeScript
21 lines
390 B
TypeScript
import * as React from 'react';
|
|
|
|
import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest';
|
|
|
|
demoTest('popconfirm', {
|
|
testRootProps: false,
|
|
skip: ['shift.tsx'],
|
|
});
|
|
|
|
rootPropsTest(
|
|
'popconfirm',
|
|
(Popconfirm, props) => (
|
|
<Popconfirm {...props}>
|
|
<span />
|
|
</Popconfirm>
|
|
),
|
|
{
|
|
findRootElements: () => document.querySelector('.ant-popover')!,
|
|
},
|
|
);
|