From 6b7d67210c4bf33d7cf3ceeda3d5803ba8dd6588 Mon Sep 17 00:00:00 2001 From: Ajit Date: Wed, 4 Jan 2023 22:30:27 +0530 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20a=20typo=20in=20`useResize`=20doc?= =?UTF-8?q?s=20(obsere=20=E2=86=92=20observe)=20(#2043)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/app/routes/docs/utilities/use-resize.mdx | 2 +- packages/core/src/hooks/useResize.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/app/routes/docs/utilities/use-resize.mdx b/docs/app/routes/docs/utilities/use-resize.mdx index 9e1c5629d2..8acf97220d 100644 --- a/docs/app/routes/docs/utilities/use-resize.mdx +++ b/docs/app/routes/docs/utilities/use-resize.mdx @@ -16,7 +16,7 @@ isNew: true A small abstraction around the [`useSpring`](/docs/components/use-spring) 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. +to the window, by passing a `container` you can observe that element's size instead. ## Usage diff --git a/packages/core/src/hooks/useResize.ts b/packages/core/src/hooks/useResize.ts index 2552ab372b..2c696a50df 100644 --- a/packages/core/src/hooks/useResize.ts +++ b/packages/core/src/hooks/useResize.ts @@ -13,7 +13,7 @@ export interface UseResizeOptions extends Omit { * 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'