Skip to content

Commit

Permalink
docs: Add anchor for props section (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickm68 committed Jun 18, 2019
1 parent 65364b5 commit 80afaaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/src/templates/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class ComponentTemplate extends React.Component {
)}

<Container>
<h2>
<div>Props</div>
<h2 id={`${metadata.displayName}-props`}>
<a href={`#${metadata.displayName}-props`}>Props</a>
{metadata.composes && (
<small style={{ fontStyle: 'italic', fontSize: '70%' }}>
Accepts all props from{' '}
Expand Down

0 comments on commit 80afaaf

Please sign in to comment.