@mantine/spotlight
Version:
Command center components for react and Mantine
24 lines (23 loc) • 804 B
JavaScript
"use client";
import { useSpotlightContext } from "./Spotlight.context.mjs";
import Spotlight_module_default from "./Spotlight.module.mjs";
import { Box, factory, useProps } from "@mantine/core";
import { jsx } from "react/jsx-runtime";
//#region packages/@mantine/spotlight/src/SpotlightEmpty.tsx
const SpotlightEmpty = factory((props) => {
const { className, style, classNames, styles, ...others } = useProps("SpotlightEmpty", null, props);
return /* @__PURE__ */ jsx(Box, {
...useSpotlightContext().getStyles("empty", {
classNames,
styles,
className,
style
}),
...others
});
});
SpotlightEmpty.classes = Spotlight_module_default;
SpotlightEmpty.displayName = "@mantine/spotlight/SpotlightEmpty";
//#endregion
export { SpotlightEmpty };
//# sourceMappingURL=SpotlightEmpty.mjs.map