import{jsxs as d,jsx as l}from"react/jsx-runtime";import{cn as f}from"../../lib/cn.js";import{createSlot as o,createHost as m}from"create-slots";const s=o("div"),c=o("div"),n=o("div"),v=({children:a,position:t="absolute"})=>m(a,i=>{var e,r;return d("div",{className:f("flex flex-row items-center justify-between gap-2.5 p-4 left-0 right-0 top-0 w-full [&>*:first-child]:min-w-[2rem] [&>*:last-child]:min-w-[2rem]",t==="absolute"&&"absolute",t==="relative"&&"relative",t==="fixed"&&"fixed",t==="sticky"&&"sticky",t==="static"&&"static"),children:[(e=i.get(c))!==null&&e!==void 0?e:l("div",{}),i.get(s),(r=i.get(n))!==null&&r!==void 0?r:l("div",{})]})}),p=Object.assign(v,{Content:s,LeftAction:c,RightAction:n});export{p as Header};
//# sourceMappingURL=header.js.map
