function createButtonGroup
createButtonGroup(
buttons: HTMLButtonElement[],
options?: { gap?: "xs" | "sm" | "md" | "lg"; vertical?: boolean; }
): HTMLDivElement

Create a button group container

Parameters

buttons: HTMLButtonElement[]

Array of button elements

optional
options: { gap?: "xs" | "sm" | "md" | "lg"; vertical?: boolean; }

Group options

Return Type

HTMLDivElement

HTMLDivElement containing buttons

Usage

import { createButtonGroup } from ".";