Skip to content

Commit ba3a35a

Browse files
committed
Add link to components video
1 parent 78ef1e3 commit ba3a35a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/pages/examples/class-components.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ class App extends React.Component<MyProps, MyState> {
4040
}
4141
}
4242
```
43+
44+
[This video](https://www.youtube.com/watch?v=9lUN3sqAjQQ) explains another example of typing a class component.

src/pages/examples/functional-components.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ const HelloWorld: React.FC<HelloWorldProps> = ({ children, userName }) => (
4040
</div>
4141
);
4242
```
43+
44+
[This video](https://www.youtube.com/watch?v=9lUN3sqAjQQ) explains another example of typing a functional component.

0 commit comments

Comments
 (0)