UNPKG

@mantine/spotlight

Version:

Command center components for react and Mantine

24 lines (23 loc) 942 B
"use client"; const require_Spotlight_context = require("./Spotlight.context.cjs"); const require_Spotlight_module = require("./Spotlight.module.cjs"); let _mantine_core = require("@mantine/core"); let react_jsx_runtime = require("react/jsx-runtime"); //#region packages/@mantine/spotlight/src/SpotlightEmpty.tsx const SpotlightEmpty = (0, _mantine_core.factory)((props) => { const { className, style, classNames, styles, ...others } = (0, _mantine_core.useProps)("SpotlightEmpty", null, props); return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Box, { ...require_Spotlight_context.useSpotlightContext().getStyles("empty", { classNames, styles, className, style }), ...others }); }); SpotlightEmpty.classes = require_Spotlight_module.default; SpotlightEmpty.displayName = "@mantine/spotlight/SpotlightEmpty"; //#endregion exports.SpotlightEmpty = SpotlightEmpty; //# sourceMappingURL=SpotlightEmpty.cjs.map