---
title: "Comment by Nicolas Barlatier on \"Create a Reusable Button Component in React\" | Hashnode"
description: "Did you use Typescript? React.FC&lt;ButtonProps &gt; This code says you do. In that case, we need to know how to have VS Code and React with typescript."
url: "https://hashnode.com/posts/create-a-reusable-button-component-in-react/62eaa96516f9480a9dac6580/comment/62ee9a21ba649046e8d8dad9"
---

[Discussion](https://hashnode.com/posts/create-a-reusable-button-component-in-react/62eaa96516f9480a9dac6580)

Comment [Create a Reusable Button Component in React](https://hashnode.com/posts/create-a-reusable-button-component-in-react/62eaa96516f9480a9dac6580)

[Nicolas Barlatier](https://hashnode.com/@NBA)

[Aug 6, 2022](https://hashnode.com/posts/create-a-reusable-button-component-in-react/62eaa96516f9480a9dac6580/comment/62ee9a21ba649046e8d8dad9)

Did you use Typescript?

```
React.FC<ButtonProps>
```

This code says you do. In that case, we need to know how to have VS Code and React with typescript.

[Sam Phillips](https://hashnode.com/@SamDarylDev)

[Aug 10, 2022](https://hashnode.com/posts/create-a-reusable-button-component-in-react/62eaa96516f9480a9dac6580/comment/62ee9a21ba649046e8d8dad9#reply-62f3cc8031be20833796d597)

Yes I did! It is such a habit now I forget that JavaScript exists haha. I will put a note in the article, thanks for the heads up!
