From 686d8a57f889fe74dc1c66566c80f0ed6d677729 Mon Sep 17 00:00:00 2001 From: Miguel Bolivar Date: Wed, 11 Mar 2020 09:56:32 -0700 Subject: [PATCH] =?UTF-8?q?Update:=20Fixing=20typo=20on=20Modal=20comment?= =?UTF-8?q?=20code=20=EF=BF=BD=20(#28057)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: This PR only fixes a little typo that I noticed working on the documentation of React Native website taking reference from this source code, and then saw it 😅 ## Changelog [General] [Fixed] - Fixed typo from `inly` to `only` inside `Modal.js` library code. Pull Request resolved: https://github.com/facebook/react-native/pull/28057 Test Plan: Not needed. Reviewed By: cpojer Differential Revision: D20197178 Pulled By: TheSavior fbshipit-source-id: 372f263a16a2de665ced7c0d3f10e3897777d19f --- Libraries/Modal/Modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Modal/Modal.js b/Libraries/Modal/Modal.js index c588ec5b6ee94c..71293402c36186 100644 --- a/Libraries/Modal/Modal.js +++ b/Libraries/Modal/Modal.js @@ -80,7 +80,7 @@ export type Props = $ReadOnly<{| * The `hardwareAccelerated` prop controls whether to force hardware * acceleration for the underlying window. * - * This prop works inly on Android. + * This prop works only on Android. * * See https://reactnative.dev/docs/modal.html#hardwareaccelerated */