import React from 'react';
import Style from './LoaderIcon.style';

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

export const LoaderIcon: React.FunctionComponent<IPropsLoader> = ({ size, color }: IPropsLoader) => {
   return (
      <Style color={color} size={size}>
         <div className="loading-icon-loader" />
      </Style>
   );
};
