import React from "react"; import { Button, ButtonProps } from "@material-ui/core"; import { ReactNode } from "react"; interface IButtonProps { onClick?: (e: React.MouseEvent) => void; children?: ReactNode; } const ExampleButton: React.FC = (props) => ( ); ExampleButton.defaultProps = { children: null, onClick: () => { // }, }; export default ExampleButton;