Skip to content

Commit 4d6dd00

Browse files
authored
fix(android): use function vs arrow for babel compat in AppleButton export (#234)
Use function syntax instead of arrow function
1 parent 819d383 commit 4d6dd00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AppleButton.android.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ButtonTexts, ButtonTypes, ButtonVariants } from './AppleButton.shared';
77
* Pure Javascript Apple Sign In button for Android.
88
* Cross-compatible with native iOS version.
99
*/
10-
export default AppleButton = (props) => {
10+
export default function AppleButton(props) {
1111
const {
1212
style,
1313
textStyle,

0 commit comments

Comments
 (0)