import React from "react";
import { PulseIndicator } from "react-native-indicators";
import Spinner from "react-native-loading-spinner-overlay/lib";

const Loader = ({visible}) => {
  return (
    <Spinner
      color="#AD40AF"
      visible={visible}
      customIndicator={<PulseIndicator color="#AD40AF" />}
    />
  );
};

export default Loader;