import React from "react"; import { Some } from "../utils/Some"; type Props = { readonly className: string; readonly text: string; readonly onClick?: (event: React.MouseEvent) => void; [key: string]: any; }; export const Button = ({ className, text, onClick, ...props }: Props) => { return ( ); };