From 80afaafba6b5f632d8f81e1e86c26b34b555ea9e Mon Sep 17 00:00:00 2001
From: Patrick McEnaney <patrick.mcenaney68@gmail.com>
Date: Tue, 18 Jun 2019 16:59:28 +0200
Subject: [PATCH] docs: Add anchor for props section (#512)

---
 www/src/templates/component.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/src/templates/component.js b/www/src/templates/component.js
index 300ce2b..9a18410 100644
--- a/www/src/templates/component.js
+++ b/www/src/templates/component.js
@@ -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{' '}