-
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.
[Chore] Fix TS Types & address code review
- Loading branch information
Showing
5 changed files
with
25 additions
and
16 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
src/pages/signin/SignInPageLayout/signInPageStyles/index.native.ts
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// Using flexGrow on mobile allows the ScrollView container to grow to fit the content. | ||
// This is necessary because making the sign-in content fit exactly the viewheight causes the scroll to stop working on mobile. | ||
import type ScrollViewContentContainerStyles from './types'; | ||
|
||
// Using flexGrow on mobile allows the ScrollView container to grow to fit the content. | ||
// This is necessary because making the sign-in content fit exactly the viewheight causes the scroll to stop working on mobile. | ||
const scrollViewContentContainerStyles: ScrollViewContentContainerStyles = (styles) => styles.flexGrow1; | ||
|
||
export default scrollViewContentContainerStyles; |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// On web, we can use flex to fit the content to fit the viewport within a ScrollView. | ||
import type ScrollViewContentContainerStyles from './types'; | ||
|
||
// On the web, we can use flex to fit the content to fit the viewport within a ScrollView. | ||
const scrollViewContentContainerStyles: ScrollViewContentContainerStyles = (styles) => styles.flex1; | ||
|
||
export default scrollViewContentContainerStyles; |
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
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