Something went wrong. Try again.
UIKit a SolidJS component library inspired by Google's Material 3 Expressive
Something went wrong. Try again.
1234567891011121314151617181920212223import clsx from "clsx";import type { Component, JSX } from "solid-js";import type { ButtonSize } from "../button/lib/size.ts";import styles from "./UKButtonGroup.module.scss";
// FIXME: this is not correctly implemented according to the MV3 Spec
const UKButtonGroup: Component<{ children: JSX.Element; size: ButtonSize; connected?: boolean; align?: "start" | "end"; class?: string;}> = (props) => { return ( <div data-size={props.size} data-connected={props.connected} class={clsx(styles.root, props.class)} data-align={props.align}> {props.children} </div> );};
export default UKButtonGroup;