File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @stainless-code/react-custom-events " : patch
3+ ---
4+
5+ fix ` README.md `
Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ Install the library via npm or yarn:
1818
1919``` bash
2020# npm
21- npm i @stainless/react-custom-events
21+ npm i @stainless-code /react-custom-events
2222
2323# yarn
24- yarn add @stainless/react-custom-events
24+ yarn add @stainless-code /react-custom-events
2525
2626# pnpm
27- pnpm add @stainless/react-custom-events
27+ pnpm add @stainless-code /react-custom-events
2828
2929# bun
30- bun add @stainless/react-custom-events
30+ bun add @stainless-code /react-custom-events
3131```
3232
3333---
@@ -72,7 +72,7 @@ This hook listens for custom events and triggers a callback when the event occur
7272### Creating a Custom Event
7373
7474``` typescript
75- import { createCustomEvent } from " @stainless/react-custom-events" ;
75+ import { createCustomEvent } from " @stainless-code /react-custom-events" ;
7676
7777// Define a custom event hook with a typed payload
7878const useMyEvent = createCustomEvent <{ age: number }>(" myCustomEvent" );
You can’t perform that action at this time.
0 commit comments