CoastalCommitsPastes/client/app/components/button-group/index.tsx
2022-11-15 22:52:25 -08:00

14 lines
295 B
TypeScript

import styles from "./button-group.module.css"
export default function ButtonGroup({
children,
...props
}: {
children: React.ReactNode | React.ReactNode[]
} & React.HTMLAttributes<HTMLDivElement>) {
return (
<div className={styles["button-group"]} {...props}>
{children}
</div>
)
}