Skip to content

Commit

Permalink
fix(android): use function vs arrow for babel compat in AppleButton e…
Browse files Browse the repository at this point in the history
…xport (#234)

Use function syntax instead of arrow function
  • Loading branch information
EIrwin authored Sep 8, 2021
1 parent 819d383 commit 4d6dd00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AppleButton.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ButtonTexts, ButtonTypes, ButtonVariants } from './AppleButton.shared';
* Pure Javascript Apple Sign In button for Android.
* Cross-compatible with native iOS version.
*/
export default AppleButton = (props) => {
export default function AppleButton(props) {
const {
style,
textStyle,
Expand Down

0 comments on commit 4d6dd00

Please sign in to comment.