Skip to content

Instantly share code, notes, and snippets.

@Pasi-D
Created April 27, 2021 17:54
Show Gist options
  • Save Pasi-D/fc087a63b6e545a255269426a9e1f02b to your computer and use it in GitHub Desktop.
Save Pasi-D/fc087a63b6e545a255269426a9e1f02b to your computer and use it in GitHub Desktop.
Medium Demo - Simple Root File of a react native styled project
import "react-native-gesture-handler";
import React, { FC } from "react";
import { ReloadInstructions } from "react-native/Libraries/NewAppScreen";
import { ThemeProvider } from "react-native-elements";
import theme from "themes";
const App: FC = () => {
return (
<ThemeProvider theme={theme}>
<ReloadInstructions />
</ThemeProvider>
);
};
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment