import * as React from "react" ; import cn from "@sindresorhus/class-names" ; interface ButtonProps { children : React . ReactChild ; onClick ? : ( ) => void ; className ? : string ; } export const Button = ( { children , onClick , className } ) => { return ( < div className = { cn ( "button" , className ) } onClick = { onClick } > { children } < /div>); } ;