mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +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}>
|
||||
<ul id="demo-toc" className="toc">
|
||||
{jumper}
|
||||
{doc.api && (
|
||||
<li key="API" title="API">
|
||||
<a href="#API">API</a>
|
||||
</li>
|
||||
)}
|
||||
</ul>
|
||||
</Affix>
|
||||
<section className="markdown">
|
||||
|
Loading…
Reference in New Issue
Block a user