@payfit/unity-components
Version:
28 lines (27 loc) • 899 B
JavaScript
import { EmptyState as e } from "../EmptyState.js";
import { EmptyStateContent as t } from "../parts/EmptyStateContent.js";
import { EmptyStateIcon as n } from "../parts/EmptyStateIcon.js";
import { forwardRef as r } from "react";
import { jsx as i, jsxs as a } from "react/jsx-runtime";
import { useIntl as o } from "react-intl";
//#region src/components/empty-state/presets/EmptyStateUseDesktop.tsx
var s = r(({ title: r, description: s, ...c }, l) => {
let u = o().formatMessage({
id: "unity:component:empty-state:use-desktop:title",
defaultMessage: "Best experienced on desktop"
});
return /* @__PURE__ */ a(e, {
ref: l,
...c,
children: [/* @__PURE__ */ i(n, {
icon: "DevicesOutlined",
variant: "neutral"
}), /* @__PURE__ */ i(t, {
title: r || u,
description: s
})]
});
});
s.displayName = "EmptyStateUseDesktop";
//#endregion
export { s as EmptyStateUseDesktop };