Last active
July 25, 2022 13:53
-
-
Save jai-adapptor/84802f37238a191c9f9c8dac75c3f843 to your computer and use it in GitHub Desktop.
1: Setup for sheet
This file contains hidden or 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
| // ... imports | |
| interface SheetProps { | |
| minHeight?: number; | |
| maxHeight?: number; | |
| expandedHeight?: number; | |
| } | |
| type SheetPositions = 'minimised' | 'maximised' | 'expanded'; | |
| const window = Dimensions.get('window'); | |
| const screen = Dimensions.get('screen'); | |
| const NAV_HEIGHT = 48; | |
| // component will go here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment