import { ComponentProps } from "react";
import { Button } from "./button";

import Panel from "./panel";

type ButtonSectionProps = ComponentProps<typeof Button>;

const ButtonSection = ({children, ...rest }: ButtonSectionProps) => {
  return (
    <Panel withPadding={false}>
      <Button variant="outline" action="primary" {...rest}>
        {children}
      </Button>
    </Panel>
  )
}

export default ButtonSection;