import * as React from "react"; import styled from "styled-components"; import css, { SystemStyleObject } from "@styled-system/css"; import { BaseSVG } from "./index"; export type LoadingSpinnerProps = { foreground?: string; background?: string; light?: boolean; dark?: boolean; }; const Foreground = styled.path(({ foreground }: LoadingSpinnerProps) => css({ fill: foreground, } as SystemStyleObject) ); const Background = styled.path(({ background }: LoadingSpinnerProps) => css({ fill: background, } as SystemStyleObject) ); export const LoadingSpinner = ({ foreground = "blue", background = "scales.blue20", light = false, dark = false, ...props }: LoadingSpinnerProps) => ( ); LoadingSpinner.displayName = "LoadingSpinner";