Skip to content

Commit

Permalink
refactor: fix typo in js doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajit authored Dec 16, 2022
1 parent bbcf245 commit c5c28c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/hooks/useResize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface UseResizeOptions extends Omit<SpringProps, 'to' | 'from'> {
* A small abstraction around the `useSpring` hook. It returns a `SpringValues`
* object with the `width` and `height` of the element it's attached to & doesn't
* necessarily have to be attached to the window, by passing a `container` you
* can obsere that element's size instead.
* can observe that element's size instead.
*
```jsx
import { useResize, animated } from '@react-spring/web'
Expand Down

0 comments on commit c5c28c2

Please sign in to comment.