import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { HappeningAt } from "./at.js";
import { HappeningProvider } from "./context.js";
export function Happening(props) {
    const { happening } = props;
    return (_jsx(HappeningProvider, { value: happening, children: _jsxs("div", { className: "flex flex-col", children: [_jsx("div", { children: happening.title }), _jsx("div", { children: happening.type }), _jsx(HappeningAt, {}), _jsxs("div", { children: [happening.children?.length || 0, " children"] })] }) }));
}
//# sourceMappingURL=happening.js.map