UNPKG

@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.

18 lines (17 loc) 641 B
import { jsx } from "react/jsx-runtime"; import { Loader as Loader$1 } from "@mantine/core"; import { ComponentErrorBoundary } from "../errorBoundary/ComponentErrorBoundary.js"; const LoaderComponent = ({ color = "primary", size = "md", variant = "oval", className, style }) => /* @__PURE__ */ jsx(Loader$1, { className, style, color, size, variant }); const Loader = (props) => /* @__PURE__ */ jsx(ComponentErrorBoundary, { componentName: Loader.displayName, children: /* @__PURE__ */ jsx(LoaderComponent, { ...props }) }); Loader.displayName = "Loader"; export { Loader, LoaderComponent }; //# sourceMappingURL=Loader.js.map