import React from "react";
import { ButtonGroup as BaseButtonGroup } from "baseui/button-group";

export interface ButtonGroupProps {
  children: React.ReactNode;
}

/**
 * This is the `<ButtonGroup>` component <br />
 * Use this to group several buttons
 */
const ButtonGroup: React.FC<ButtonGroupProps> = (props) => {
  const { children } = props;
  return <BaseButtonGroup {...props}>{children}</BaseButtonGroup>;
};

export default ButtonGroup;
