import React, { FunctionComponent } from "react"; export interface LoaderProps { className?: string; children?: React.ReactNode; width?: string; primary?: string; secondary?: string; } const Loader: FunctionComponent = ({ className, children, width = "24px", primary = "#808080", secondary = "#d3d3d3", ...props }) => { return (
{children}
); }; export const LoaderSpinner = Loader;