CoastalCommitsPastes/client/app/components/button-group/index.tsx

15 lines
295 B
TypeScript
Raw Normal View History

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>
)
}