@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
20 lines (19 loc) • 911 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"];
/** Adds bifrost default spacing (8px) on the right side of the icon */
marginRight?: boolean;
/** Adds bifrost default spacing (8px) on the left side of the icon */
marginLeft?: boolean;
/** Adds a fixed width in Font Awesome 6. Does nothing in Font Awesome 7 where
* fixed width is default. If you don't want fixed width in FA7 use
* `widthAuto` instead.
* @deprecated */
fixedWidth?: boolean;
widthAuto?: boolean;
style?: React.CSSProperties;
className?: string;
};
declare const IconSpinner: import("react").ForwardRefExoticComponent<IconSpinnerProps & import("react").RefAttributes<SVGSVGElement>>;
export default IconSpinner;