@airplane/views
Version:
A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.
22 lines (21 loc) • 612 B
TypeScript
import { MantineSize } from "@mantine/core";
import { CommonLayoutProps } from "../../components/layout/layout.types";
import { CommonStylingProps } from "../../components/styling.types";
import type { Color } from "../../components/theme/colors";
export type LoaderProps = {
/**
* Color of the loader.
* @default primary
*/
color?: Color;
/**
* Size of the loader.
* @default md
*/
size?: number | MantineSize;
/**
* Appearance of the loader.
* @default oval
*/
variant?: "bars" | "oval" | "dots";
} & CommonLayoutProps & CommonStylingProps;