import React from "react" ; type Props = { onClick : ( ) => void ; } ; export const Button = ( { children , onClick } ) => { return ( < button className = "btn" onClick = { onClick } type = "button" > { children } < /button>); } ;