UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

22 lines (21 loc) 702 B
import { jsx as e, Fragment as n } from "react/jsx-runtime"; import { NoContentPlaceholderType as t } from "../SynapseTable/NoContentPlaceholderType.js"; import s from "../SynapseTable/SearchResultsNotFound.js"; import l from "../SynapseTable/TableIsEmpty.js"; import m from "../SynapseTable/NoContentAvailable.js"; function T(r) { const { type: o, hasResettableFilters: a } = r; switch (o) { case t.INTERACTIVE: return a ? /* @__PURE__ */ e(s, {}) : /* @__PURE__ */ e(l, {}); case t.HIDDEN: return /* @__PURE__ */ e(n, {}); case t.STATIC: default: return /* @__PURE__ */ e(m, {}); } } export { T as default }; //# sourceMappingURL=NoContentPlaceholder.js.map