'use client'

import './Button.css';

export default function Button({
                                   children,
                                   onClickAction,
                               }: {
    children: React.ReactNode;
    onClickAction: (event: React.MouseEvent<HTMLButtonElement>) => void;  // Renamed here as well
}) {
    return (
        <button className="button" onClick={onClickAction}>
            {children}
        </button>
    );
}
