From b082df71fe64df7915fb84cf34040b6af51f265e Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Wed, 19 Jul 2023 12:47:31 +0200 Subject: [PATCH] Use TypeScript in all README examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9cc93c8..a67f11b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Add React-Async-Button to your project by executing `npm install @wojtekmaj/reac Here's an example of basic usage: -```js +```tsx import AsyncButton from '@wojtekmaj/react-async-button'; const pendingConfig = { @@ -63,7 +63,7 @@ function MyComponent() { AsyncButton renders `