mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update Dimension.js typo (#29858)
Summary: preferred instead of preffered ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [CATEGORY] [TYPE] - Message Pull Request resolved: https://github.com/facebook/react-native/pull/29858 Reviewed By: charlesbdudley Differential Revision: D29998754 Pulled By: sota000 fbshipit-source-id: f13fef58e9154ddf8087944d53e022fb9afa6b1b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ce44104b2b
commit
1c87d4aee3
@@ -32,7 +32,7 @@ let dimensions: DimensionsValue;
|
||||
|
||||
class Dimensions {
|
||||
/**
|
||||
* NOTE: `useWindowDimensions` is the preffered API for React components.
|
||||
* NOTE: `useWindowDimensions` is the preferred API for React components.
|
||||
*
|
||||
* Initial dimensions are set before `runApplication` is called so they should
|
||||
* be available before any other require's are run, but may be updated later.
|
||||
|
||||
Reference in New Issue
Block a user