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