import { MEASURE } from '#/lib/layout.js'; import { cn } from '#/lib/utils.js'; /** * The band a screen fixes above its body, one height on every screen: what * the section is looking at on the left, and what can be done about it on * the right. A ref picker, a breadcrumb, a title, a way back all stand on * the same line down the page whichever section is open. * * The contents and the rule under them sit in the reading column, the way * the home's heading does, unless `wide`, for a screen whose body takes the * window: there the rule runs the width of the window too. * * `tabs` lowers the band's own padding, so a row of underlined tabs sits on * the rule rather than floating above it. * @param {{actions?: import('react').ReactNode, tabs?: boolean, wide?: boolean, className?: string, children?: import('react').ReactNode}} props */ export function PageBar({ actions, tabs = false, wide = false, className, children, }) { return (
{children}
{actions && (
{actions}
)}
); }