@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
21 lines (20 loc) • 736 B
TypeScript
export type IconSpinnerProps = {
/** Size of the spinner, defined as a `number` (in px) or css length `string`
* (defaults to current css font-size, equivalent to `"1em"`) */
size?: React.CSSProperties["fontSize"];
style?: React.CSSProperties;
className?: string;
};
/**
* Theme-colored spinner icon with customizable `size`. For more control use `<Icon />` instead.
* @example
* <Icon.Spinner size={64} />
* // is equivalent to
* <Icon
* icon={faSpinnerThird}
* className="bf-icon-spinner bfc-theme"
* style={{ fontSize: 64 }}
* />
*/
declare const IconSpinner: import("react").ForwardRefExoticComponent<IconSpinnerProps & import("react").RefAttributes<SVGSVGElement>>;
export default IconSpinner;