Rocky Esselrockyessel.hashnode.dev·Apr 24, 2023How to create a React.js(TypeScript) Reusable Custom Button Component with TailwindCSS.So before we start, I would like to show you what the code for the reusable custom button is going to look like. import React from 'react'; type ButtonType = 'button' | 'submit' | 'reset' | undefined; interface Props { children: React.ReactNode; ...1.9K readsTypeScript