// packages/components/src/truncate/component.tsx
import { contextConnect } from "../context/index.js";
import { View } from "../view/index.js";
import useTruncate from "./hook.js";
import { jsx as _jsx } from "react/jsx-runtime";
function UnconnectedTruncate(props, forwardedRef) {
  const truncateProps = useTruncate(props);
  return /* @__PURE__ */ _jsx(View, {
    as: "span",
    ...truncateProps,
    ref: forwardedRef
  });
}
var Truncate = contextConnect(UnconnectedTruncate, "Truncate");
var component_default = Truncate;
export {
  Truncate,
  component_default as default
};
//# sourceMappingURL=component.js.map
