UNPKG

react-text-spinners

Version:
23 lines (22 loc) 930 B
/// <reference types="react" /> import "./index.scss"; declare type SpinnerProps = { theme?: "arrow" | "bar" | "bar2" | "beam" | "box-bounce" | "bullet" | "bullseye" | "circle" | "countdown" | "dots" | "dots2" | "dots3" | "earth" | "fish" | "hamburger" | "hearts" | "lifting" | "line" | "line2" | "matrix" | "monkey" | "moon" | "open-circle" | "plus" | "rhomb" | "runner" | "square" | "star" | "time" | "toggle" | "triangle" | "triangles" | ""; size?: string; color?: string; backgroundColor?: string; title?: string; className?: string; key?: any; }; /** * Add a spinner. * * Available themes will auto-complete in the editor if you have auto-completion * enabled. * * See the docs for more information: * https://github.com/maxbeier/text-spinners */ export default function Spinner({ theme, size, color, backgroundColor, title, }: SpinnerProps): JSX.Element; export {};