Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
leobastiani committed Jan 18, 2024
1 parent ab02cac commit e1a5475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img src="https://raw.githubusercontent.com/leobastiani/react-with-hoc/main/.github/logo/logo.png" />
</a>

**Type safe** and **Zero-cost** React library to work with higher-order components (HOCs)
**Type safe** and **Zero-cost** React library to work with higher-order component (HOC)

[![Documentation](https://img.shields.io/badge/docs-blue)](https://leobastiani.github.io/react-with-hoc/)
[![NPM version](https://img.shields.io/npm/v/react-with-hoc)](https://www.npmjs.com/package/react-with-hoc)
Expand Down Expand Up @@ -57,7 +57,7 @@ export const Hello = (() => {
export const HelloYou = withOverride("name", "You")(Hello);

// <HelloYou /> is equivalent to <div>Hello You!</div>
// <HelloYou name="..." /> is typescript error ❌
// <HelloYou name="..." /> is a typescript error ❌
```

### Example with react-query
Expand Down

0 comments on commit e1a5475

Please sign in to comment.