Skip to content

Commit 9306ce6

Browse files
authored
Merge pull request #259 from ssinigaglia/fix/docs-typo
fix(docs): typos in common-patterns
2 parents dee7ade + ceb09da commit 9306ce6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/docs/src/content/docs/getting-started/common-patterns.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function Button({ asChild, onPress: onPressProp, ...props }: PressablePro
4141
}
4242
`} />
4343

44-
#### Use of a componnent that has an `asChild` prop
44+
#### Use of a component that has an `asChild` prop
4545

4646
Setting the `asChild` prop to `true` to pass all of the `Button` props to the `Pressable` component.
4747

@@ -66,7 +66,7 @@ function Thing(){
6666

6767
## Forwarding Refs
6868

69-
Refs are used for [Direct Manipulation](https://reactnative.dev/docs/direct-manipulation). A common pratice is to set a ref to a component, then use the ref to call methods or access properties of the component.
69+
Refs are used for [Direct Manipulation](https://reactnative.dev/docs/direct-manipulation). A common practice is to set a ref to a component, then use the ref to call methods or access properties of the component.
7070

7171
### Passing a ref to `react-native` components
7272

0 commit comments

Comments
 (0)