import type { Mobilization } from "../../../../reducers" ; interface ButtonProperties { mobilization : Mobilization ; handleClick ? : ( ) => void ; buttonText : React . ReactElement | string ; } const Button = ( { buttonText , handleClick , mobilization : { body_font : bodyFont } } ) : React . ReactElement => ( < div style = { { fontFamily : bodyFont } } > < button type = "button" className = 'caps btn bg-darken-4 p2 col-12 mt1 mb2 rounded white' onClick = { handleClick } > { buttonText } < /button> < /div>); export default Button ;