---
title: "Discussion on \"Create a Reusable Button Component in React\" | Hashnode"
description: "Discussion on \"Create a Reusable Button Component in React\". React components can get complicated quickly. In this article we explore ways of creating reusable components that maximize simplicity and extensibility."
url: "https://hashnode.com/posts/create-a-reusable-button-component-in-react/62eaa96516f9480a9dac6580"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Create a Reusable Button Component in React](https://blog.samdaryl.dev/create-a-reusable-button-component-in-react?utm_source=hashnode&utm_medium=feed)

React components can get complicated quickly. In this article we explore ways of creating reusable components that maximize simplicity and extensibility.

Aug 3, 2022 · 6 min read · blog.samdaryl.dev  
Updated Aug 10, 2022  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#react-componets](https://hashnode.com/tag/react-componets)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#button](https://hashnode.com/tag/button)

## Written by

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

@SamDarylDev · London, UK

  
[View profile](https://hashnode.com/@SamDarylDev)

Full Stack Engineer | Web3, React and Typescript Enthusiast | Twitter @SamDarylDev | snapshotify.xyz | superipfs.cloud | onchainpixels.com

Hey! I'm a Full Stack Software Engineer with over 10 years experience in the industry. I've built entire platforms end to end, helped others create amazing things, and have drunk copious amounts of coffee, red-bull and beer to get here. I feel like now is the time I start giving all this knowledge and experience back to younger developers that need it. Hopefully I can help you on your journey to becoming an Engineer.

## Responses 1

Markdown supported · ⌘↵ to post

[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!
