import type { ButtonHTMLAttributes, PropsWithChildren } from "react";

import "./Button.scss";

export type ChatButtonProps = PropsWithChildren<
	ButtonHTMLAttributes<HTMLButtonElement>
>;

export default function Button({
	children,
	className = "",
	...rest
}: ChatButtonProps) {
	return (
		<button className={`chat-button ${className}`.trim()} {...rest}>
			{children}
		</button>
	);
}
