UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

22 lines (21 loc) 420 B
import cx from "clsx"; import React from "react"; import { Box } from "./Box"; function HeaderBar({ className, children, titlebar, ...rest }) { return /* @__PURE__ */ React.createElement("div", { className: cx("HeaderBar", className, { titlebar }), ...rest }, /* @__PURE__ */ React.createElement(Box, { horizontal: true, align: true, fill: true }, children)); } export { HeaderBar };