@mantine/spotlight
Version:
Command center components for react and Mantine
26 lines (25 loc) • 985 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/SpotlightActionsGroup.tsx
const SpotlightActionsGroup = factory((props) => {
const { className, style, styles, classNames, label, children, ...others } = useProps("SpotlightActionsGroup", null, props);
return /* @__PURE__ */ jsx(Box, {
...useSpotlightContext().getStyles("actionsGroup", {
className,
style,
classNames,
styles
}),
...others,
__vars: { "--spotlight-label": `'${label?.replace(/\\/g, "\\\\").replace(/'/g, "\\'")}'` },
children
});
});
SpotlightActionsGroup.classes = Spotlight_module_default;
SpotlightActionsGroup.displayName = "@mantine/core/SpotlightActionsGroup";
//#endregion
export { SpotlightActionsGroup };
//# sourceMappingURL=SpotlightActionsGroup.mjs.map