1.4.5 • Published 5 years ago

react-native-social-media-cards v1.4.5

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 years ago

Easily prepare awesome social media cards for your React Native app.

Install

$ npm install react-native-social-media-cards 

$ react-native link react-native-ionicons 

Usage

import {SocialMedia} from 'react-native-social-media-cards'

...

<SocialMedia
    text="Youtube"
    textColor='#ffffff'
    logo="logo-youtube"
    link="https://youtube.com/"
    backgroundColor= '#ff0000' 
    size={35}
    logoColor='#ff0000'
/>

ScreenShots

Example of Social Media Cards in Android

Example of Social Media Cards in iOS

Properties

namedescriptiontype
textYour nickname or name of social media accountString (OPTIONAL)
textColorColor property of the textString (OPTIONAL)
logoChoose a logo from ionicons designer packString (OPTIONAL)
linkhttps link of social media accountString (OPTIONAL)
backgroundColorCard's background colorString (OPTIONAL)
sizesize of logoNumber (OPTIONAL)
logoColorcolor of logoString (OPTIONAL)

Examples

Look examples.js file for using examples.

Special Note

This is my first NPM Package experience. If there is any mistakes, please feel free to say it.