@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
25 lines (24 loc) • 519 B
TypeScript
import { FC } from 'react';
import { Props } from './Loading.types';
/**
* A spinning loading indicator.
*
* @example
* ```tsx
* // Default loading spinner
* <Loading />
*
* // Custom size
* <Loading className="w-8 h-8" />
*
* // In a button
* <Button disabled>
* <Loading className="w-4 h-4 mr-2" />
* Loading...
* </Button>
* ```
*
* @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-loading--docs Storybook}
*/
declare const Loading: FC<Props>;
export { Loading };