import React from "react";
import { MinuitProvider } from "react-native-minuit";

import SharedProviders from "./SharedProviders";

import { Palette } from "../styles";

export default ({ children }) => {
  return (
    <MinuitProvider
      projectID={"minuitapp"}
      themeColors={{
        primary: Palette.primary,
        secondary: Palette.darkPurple,
        destructive: "red",
      }}
    >
      <SharedProviders>{children}</SharedProviders>
    </MinuitProvider>
  );
};
