Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chengpeiquan committed Jan 20, 2024
1 parent 67888c0 commit 5e5529c
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 @@ -32,10 +32,10 @@ npm install @re-dev/react-truncate
In `.jsx` / `.tsx` or other files:

```ts
import { Truncate, ShowMore } from '@re-dev/react-truncate'
import { MiddleTruncate, Truncate, ShowMore } from '@re-dev/react-truncate'
```

Normally, you only need to use the `ShowMore` component.
Normally, you only need to use the `MiddleTruncate` or `ShowMore` component.

See: [Basic Example](https://truncate.js.org/examples/basic/)

Expand Down

0 comments on commit 5e5529c

Please sign in to comment.