UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

28 lines (27 loc) 1.05 kB
"use client"; import { useProps } from "../../../core/MantineProvider/use-props/use-props.mjs"; import { factory } from "../../../core/factory/factory.mjs"; import { Box } from "../../../core/Box/Box.mjs"; import { useEmptyStateContext } from "../EmptyState.context.mjs"; import EmptyState_module_default from "../EmptyState.module.mjs"; import { jsx } from "react/jsx-runtime"; //#region packages/@mantine/core/src/components/EmptyState/EmptyStateActions/EmptyStateActions.tsx const EmptyStateActions = factory((_props) => { const { classNames, className, style, styles, vars, children, mod, ...others } = useProps("EmptyStateActions", null, _props); return /* @__PURE__ */ jsx(Box, { mod, ...useEmptyStateContext().getStyles("actions", { className, style, classNames, styles }), ...others, children }); }); EmptyStateActions.classes = EmptyState_module_default; EmptyStateActions.displayName = "@mantine/core/EmptyStateActions"; //#endregion export { EmptyStateActions }; //# sourceMappingURL=EmptyStateActions.mjs.map