Skip to content

Commit

Permalink
Add both Providers for completeness
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisy1 committed Nov 14, 2019
1 parent 06a706b commit 2a7575d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
import * as React from "react";
import { AppRegistry } from "react-native";
import { ThemeProvider } from "react-native-elements";
import { Provider as PaperProvider } from "react-native-paper";
import App from "./src/App";
import { name as appName } from "./app.json";
import "reflect-metadata";

export default function Main() {
return (
<ThemeProvider>
<App />
<PaperProvider>
<App />
</PaperProvider>
</ThemeProvider>
);
}
Expand Down

0 comments on commit 2a7575d

Please sign in to comment.