@payfit/unity-components
Version:
25 lines (24 loc) • 866 B
JavaScript
import { EmptyState as e } from "../EmptyState.js";
import { EmptyStateIcon as t } from "../parts/EmptyStateIcon.js";
import { EmptyStateContent as n } from "../parts/EmptyStateContent.js";
import { forwardRef as r } from "react";
import { jsx as i, jsxs as a } from "react/jsx-runtime";
import { useTranslation as o } from "react-i18next";
//#region src/core/components/empty-state/presets/EmptyStateUseDesktop.tsx
var s = r(({ title: r, description: s, ...c }, l) => {
let { t: u } = o("unity"), d = u((e) => e.unity.component.emptyState.useDesktop.title);
return /* @__PURE__ */ a(e, {
ref: l,
...c,
children: [/* @__PURE__ */ i(t, {
icon: "DevicesOutlined",
variant: "neutral"
}), /* @__PURE__ */ i(n, {
title: r || d,
description: s
})]
});
});
s.displayName = "EmptyStateUseDesktop";
//#endregion
export { s as EmptyStateUseDesktop };