import React from 'react';
import { ActivityIndicator } from 'react-native';

interface IPropsLoader {
   size?: number;
   color?: string;
}

export const LoaderIcon: React.FunctionComponent<IPropsLoader> = ({ size, color }: IPropsLoader) => {
   return <ActivityIndicator size={size} color={color} />;
};
