UNPKG

@abgov/react-components

Version:

Government of Alberta - UI components for React

27 lines (26 loc) 765 B
import { GoabSpinnerSize, GoabSpinnerType } from '@abgov/ui-components-common'; import { JSX } from 'react'; interface WCProps { size: GoabSpinnerSize; type: GoabSpinnerType; invert?: string; progress?: number; testid?: string; } declare module "react" { namespace JSX { interface IntrinsicElements { "goa-spinner": WCProps & React.HTMLAttributes<HTMLElement>; } } } export interface GoabSpinnerProps { type: GoabSpinnerType; size: GoabSpinnerSize; invert?: boolean; progress?: number; testId?: string; } export type SpinnerProps = GoabSpinnerProps; export declare function GoabSpinner({ type, size, progress, invert, testId, }: GoabSpinnerProps): JSX.Element; export default GoabSpinner;