Browse Source

docs: 📝 fix anchor demo

pull/26740/head
afc163 4 years ago
parent
commit
704899415e
  1. 12
      components/anchor/__tests__/__snapshots__/demo.test.ts.snap
  2. 1
      components/anchor/demo/basic.md

12
components/anchor/__tests__/__snapshots__/demo.test.ts.snap

@ -41,18 +41,6 @@ exports[`renders ./components/anchor/demo/basic.md correctly 1`] = `
Static demo
</a>
</div>
<div
class="ant-anchor-link"
>
<a
class="ant-anchor-link-title"
href="#components-anchor-demo-basic"
target="_blank"
title="Basic demo with Target"
>
Basic demo with Target
</a>
</div>
<div
class="ant-anchor-link"
>

1
components/anchor/demo/basic.md

@ -22,7 +22,6 @@ ReactDOM.render(
<Anchor>
<Link href="#components-anchor-demo-basic" title="Basic demo" />
<Link href="#components-anchor-demo-static" title="Static demo" />
<Link href="#components-anchor-demo-basic" title="Basic demo with Target" target="_blank" />
<Link href="#API" title="API">
<Link href="#Anchor-Props" title="Anchor Props" />
<Link href="#Link-Props" title="Link Props" />

Loading…
Cancel
Save