mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
chore: site docs page add api anchor (#21736)
This commit is contained in:
parent
301529e0d4
commit
e59d606dae
@ -149,6 +149,11 @@ class ComponentDoc extends React.Component {
|
|||||||
<Affix className="toc-affix" offsetTop={16}>
|
<Affix className="toc-affix" offsetTop={16}>
|
||||||
<ul id="demo-toc" className="toc">
|
<ul id="demo-toc" className="toc">
|
||||||
{jumper}
|
{jumper}
|
||||||
|
{doc.api && (
|
||||||
|
<li key="API" title="API">
|
||||||
|
<a href="#API">API</a>
|
||||||
|
</li>
|
||||||
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
</Affix>
|
</Affix>
|
||||||
<section className="markdown">
|
<section className="markdown">
|
||||||
|
Loading…
Reference in New Issue
Block a user