Skip to content

Commit

Permalink
Fix spelling in first-animation.md (#159)
Browse files Browse the repository at this point in the history
## 📜 Description
<!-- Describe your changes in detail -->

## 💡 Motivation and Context
<!-- Why is this change required? What problem does it solve? -->
<!-- If it fixes an open issue, please link to the issue here. -->

## 📢 Changelog

<!-- High level overview of important changes -->
<!-- For example: fixed status bar manipulation; added new types
declarations; -->
<!-- If your changes don't affect one of platform/language below - then
remove this platform/language -->

### JS
- 
- 

### iOS
- 
- 

### Android
- 
- 

## 🤔 How Has This Been Tested?
<!-- Please describe in detail how you tested your changes. -->
<!-- Include details of your testing environment, and the tests you ran
to -->
<!-- see how your change affects other areas of the code, etc. -->

## 📸 Screenshots (if appropriate):
<!-- Add screenshots/video if needed -->
<!-- That would be highly appreciated if you can add how it looked
before and after your changes -->

## 📝 Checklist

- [ ] CI successfully passed
  • Loading branch information
irisjae authored Jun 1, 2023
1 parent 9544e6b commit ba07513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/guides/first-animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Both of them return an object with two properties: `progress` and `height` (depe
:::

:::caution
`useReanimatedKeyboardAnimation` works only with `ShareValues`, i.e. it is not compatible with Reanimated v1 API.
`useReanimatedKeyboardAnimation` works only with `SharedValues`, i.e. it is not compatible with Reanimated v1 API.
:::

## Example
Expand Down Expand Up @@ -79,4 +79,4 @@ export default function KeyboardAnimation() {

:::info
If you are going to use these Animated values in class components (i.e. without hooks) - you can easily [do](../api/hooks/use-keyboard-animation.md) it. Check out [source](https://github.com/kirillzyusko/react-native-keyboard-controller/blob/cf27eb00877db34b860a04cf52a026110e44b4b3/src/animated.tsx#L46-L51) code - this hook simply changes `softInputMode` and consumes `Context`. Also you may read [architecture](../recipes/architecture.md) deep dive to understand more about how this library works.
:::
:::

0 comments on commit ba07513

Please sign in to comment.