Last active
July 25, 2022 13:51
-
-
Save jai-adapptor/d741248c6987093d37b72b87799c5463 to your computer and use it in GitHub Desktop.
Add new components to index.tsx
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
import Sheet from './components/Sheet'; | |
import MainContent from './components/MainContent'; | |
import ExampleComponent from './components/ExampleComponent'; | |
function App() { | |
return ( | |
<View style={{ flex: 1 }}> | |
<MainContent /> | |
<Sheet> | |
<ExampleComponent style={{ height: 60, marginBottom: 10 }} /> | |
<View style={{ flexDirection: 'row', marginBottom: 10 }}> | |
<ExampleComponent style={{ flex: 1, height: 120, marginRight: 10 }} /> | |
<ExampleComponent style={{ flex: 1, height: 120 }} /> | |
</View> | |
</Sheet> | |
</View> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment