-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26158 from software-mansion-labs/ts-migration/sho…
…uld-render-offscreen [No QA] [TS migration] Migrate 'shouldRenderOffscreen' lib to TypeScript
- Loading branch information
Showing
5 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import ShouldRenderOffscreen from './types'; | ||
|
||
// Rendering offscreen on Android allows it to apply opacity to stacked components correctly. | ||
const shouldRenderOffscreen: ShouldRenderOffscreen = true; | ||
|
||
export default shouldRenderOffscreen; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import ShouldRenderOffscreen from './types'; | ||
|
||
const shouldRenderOffscreen: ShouldRenderOffscreen = false; | ||
|
||
export default shouldRenderOffscreen; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
type ShouldRenderOffscreen = boolean; | ||
|
||
export default ShouldRenderOffscreen; |