UNPKG

@mantine/spotlight

Version:

Command center components for react and Mantine

30 lines (26 loc) 842 B
'use client'; 'use strict'; var jsxRuntime = require('react/jsx-runtime'); var core = require('@mantine/core'); var Spotlight_context = require('./Spotlight.context.cjs'); var Spotlight_module = require('./Spotlight.module.css.cjs'); const SpotlightEmpty = core.factory((props, ref) => { const { className, style, classNames, styles, ...others } = core.useProps( "SpotlightEmpty", null, props ); const ctx = Spotlight_context.useSpotlightContext(); return /* @__PURE__ */ jsxRuntime.jsx( core.Box, { ref, ...ctx.getStyles("empty", { classNames, styles, className, style }), ...others } ); }); SpotlightEmpty.classes = Spotlight_module; SpotlightEmpty.displayName = "@mantine/spotlight/SpotlightEmpty"; exports.SpotlightEmpty = SpotlightEmpty; //# sourceMappingURL=SpotlightEmpty.cjs.map