HoshiAI-app/components/ui/button-section.tsx

18 lines
421 B
TypeScript

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;