import type { AppContext } from "../api" ; import { button } from "./button" ; export function buttonGroup ( ctx , ... buttons ) { return [ "section" , ctx . ui . buttongroup , buttons . map ( ( bt ) => [ button , ... bt ] ) , ] ; }