UNPKG

@cgi-learning-hub/ui

Version:

@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features

26 lines (25 loc) 534 B
import { r as m, m as P, a as S } from "./useSlot-BSkdRaZr.js"; import { u as c } from "./useForkRef-u29GSuCu.js"; function x(e) { var t; const { elementType: s, externalSlotProps: p, ownerState: r, skipResolvingSlotProps: n = !1, ...a } = e, o = n ? {} : m(p, r), { props: l, internalRef: f } = P({ ...a, externalSlotProps: o }), i = c(f, o == null ? void 0 : o.ref, (t = e.additionalProps) == null ? void 0 : t.ref); return S(s, { ...l, ref: i }, r); } export { x as u };