UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

11 lines (10 loc) 569 B
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 };