interface Props {
  color?: string;
}
const LoadingRing = ({ color = "white" }: Props) => {
  return (
    <div className="uikit-flex uikit-items-center uikit-justify-center">
      <div
        className="uikit-animate-spin uikit-rounded-full uikit-h-4 uikit-w-4 uikit-border-[2px] uikit-border-t-transparent"
        style={{ borderColor: color }}
      ></div>
    </div>
  );
};

export default LoadingRing;
