uikit/dist/remote-ui-segmented-selector.js
Mohamadzadeh 307d178ed3
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Has been skipped
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Has been skipped
add TabSelector and SegmentedSelector
2026-11-21 11:19:33 +03:30

24 lines
774 B
JavaScript

import { jsx as m } from "react/jsx-runtime";
import r from "react";
import { D as a } from "./chunks/constants-Bq1Au9ih.js";
import { c as n } from "./chunks/createReactRemoteElementComponent-B0hibuD7.js";
function l(e) {
return !e || r.isValidElement(e) ? e : typeof e == "function" || typeof e == "object" && (e != null && e.$$typeof) ? r.createElement(e) : e;
}
const f = n({
componentName: "SegmentedSelector",
tagName: "uikit-segmented-selector",
defaultRemoteUrl: a.SegmentedSelector,
normalizeProps: ({ items: e, ...o }) => ({
...o,
items: Array.isArray(e) ? e.map((t) => ({ ...t, icon: l(t == null ? void 0 : t.icon) })) : []
})
});
function c(e) {
return /* @__PURE__ */ m(f, { ...e });
}
export {
c as SegmentedSelector,
c as default
};