Skip to content

Commit 5c3535b

Browse files
committed
Add SEO component to HOCs and React Router pages
1 parent 600332e commit 5c3535b

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

src/pages/examples/hocs.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ route: /examples/hocs
44
menu: Examples
55
---
66

7+
import SEO from '../../components/seo';
8+
9+
<SEO
10+
description="Using TypeScript with higher order components or HOCs."
11+
title="Higher Order Components (HOCs)"
12+
keywords={['higher-order components', 'higher order components', 'hocs']}
13+
/>
14+
715
# Higher Order Components (HOCs)
816

917
Please note that this section uses the `utility-types` [package](https://github.com/piotrwitek/utility-types) since, as of May 2019, the helper functions were unavailable in TypeScript.

src/pages/examples/react-router.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ route: /examples/react-router
44
menu: Examples
55
---
66

7+
import SEO from '../../components/seo';
8+
9+
<SEO
10+
description="Using TypeScript with React Router."
11+
title="React Router"
12+
keywords={[
13+
'react router',
14+
'router',
15+
'withRouter',
16+
'url parameters',
17+
'route parameters',
18+
]}
19+
/>
20+
721
# React Router
822

923
## withRouter

0 commit comments

Comments
 (0)