import React from 'react'; import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest'; demoTest('anchor', { testRootProps: false, }); rootPropsTest( 'anchor', (Anchor, props) => ( ), { findRootElements: () => document.querySelector('.ant-anchor-wrapper')!, }, );