@sinchsmb/ui-kit
Version:
UI kit for SinchSMB frontend
19 lines (18 loc) • 554 B
TypeScript
import { SVGProps } from 'react';
import { CommonProps } from '../../types';
/** Props for {@link Loader} */
export interface LoaderProps extends CommonProps {
ariaLabel?: SVGProps<SVGSVGElement>['aria-label'];
}
/**
* Circular loader indicator.
*
* ```tsx
* import { Loader } from "ui-kit";
*
* <Loader />
* ```
*
* You can change the color of the loader by passing `color` prop or by `color` CSS param.
*/
export declare const Loader: import("react").ForwardRefExoticComponent<LoaderProps & import("react").RefAttributes<SVGSVGElement>>;