Answers for "react-native-apple-authentication"

0

react-native-apple-authentication

// App.js

import React from 'react';
import { View } from 'react-native';
import { AppleButton } from '@invertase/react-native-apple-authentication';

async function onAppleButtonPress() {

}

function App() {
  return (
    <View>
      <AppleButton
        buttonStyle={AppleButton.Style.WHITE}
        buttonType={AppleButton.Type.SIGN_IN}
        style={{
          width: 160, // You must specify a width
          height: 45, // You must specify a height
        }}
        onPress={() => onAppleButtonPress()}
      />
    </View>
  );
}
Posted by: Guest on October-06-2020
0

react-native-apple-authentication

yarn add @invertase/react-native-apple-authentication

(cd ios && pod install)
Posted by: Guest on October-06-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language