react-native-apple-signin-package

0.0.3 • Public • Published

react-native-apple-signin-package

Getting started

$ npm install react-native-apple-signin-package --save

Mostly automatic installation if you use react native <= 0.59

$ react-native link react-native-apple-signin-package

Usage

import { SignInWithAppleBlackButton,
         SignInWithAppleOutlineButton,
         SignInWithAppleWhiteButton
} from 'react-native-apple-signin-package'

// Support three different styles with white, black, and white with outline.
<View style= {{marginBottom:20}}>
    {SignInWithAppleBlackButton({ height: 45, width: 218 }, 
                                { 'cornerRadius':22.5 }, 
                                appleSignIn)}
</View>
...

appleSignIn = async (result) => {
  // You can check the return result and use what you want to do with your system.
  console.log('Result',result);
};

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i react-native-apple-signin-package

    Weekly Downloads

    2

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    63.8 kB

    Total Files

    22

    Last publish

    Collaborators

    • ethanlin