@vnmfify/core
Version:
```shell npm i @vnmfify/core -S ```
14 lines (13 loc) • 489 B
TypeScript
import { ViewProps } from "@vnxjs/components/types/View";
import { ReactNode } from "react";
export declare type LoadingType = "circular" | "spinner";
declare type LoadingDirection = "horizontal" | "vertical";
export interface LoadingProps extends ViewProps {
className?: string;
size?: number | string;
type?: LoadingType;
direction?: LoadingDirection;
children?: ReactNode;
}
export default function Loading(props: LoadingProps): JSX.Element;
export {};