Skip to content

Commit

Permalink
Update: Fixing typo on Modal comment code � (#28057)
Browse files Browse the repository at this point in the history
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: #28057

Test Plan: Not needed.

Reviewed By: cpojer

Differential Revision: D20197178

Pulled By: TheSavior

fbshipit-source-id: 372f263a16a2de665ced7c0d3f10e3897777d19f
  • Loading branch information
Darking360 authored and facebook-github-bot committed Mar 11, 2020
1 parent 8b61578 commit 686d8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 686d8a5

Please sign in to comment.