@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
11 lines (10 loc) • 420 B
TypeScript
import React from 'react';
import { BoxOwnProps } from "./Box.js";
import type { ForwardRef } from "./types.js";
export interface SpinnerProps extends Omit<React.ComponentPropsWithRef<'svg'>, 'opacity' | 'color' | 'css' | 'sx' | 'strokeWidth'>, BoxOwnProps {
size?: number;
strokeWidth?: number;
title?: string;
duration?: number;
}
export declare const Spinner: ForwardRef<SVGSVGElement, SpinnerProps>;