Recently, I changed all of the function declarations for my components from this:
function LoginButton(props) { const {style, iconStyle, type, onPress} =