@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
11 lines (10 loc) • 569 B
TypeScript
import * as React from 'react';
import { spinnerPropDefs } from './spinner.props.js';
import type { ComponentPropsWithout, RemovedProps } from '../helpers/index.js';
import type { GetPropDefTypes, MarginProps } from '../props/index.js';
type SpinnerOwnProps = GetPropDefTypes<typeof spinnerPropDefs>;
interface SpinnerProps extends ComponentPropsWithout<'span', RemovedProps>, MarginProps, SpinnerOwnProps {
}
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
export { Spinner };
export type { SpinnerProps };