react-native-social-media-cards

1.4.5 • Public • Published

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

name description type
text Your nickname or name of social media account String (OPTIONAL)
textColor Color property of the text String (OPTIONAL)
logo Choose a logo from ionicons designer pack String (OPTIONAL)
link https link of social media account String (OPTIONAL)
backgroundColor Card's background color String (OPTIONAL)
size size of logo Number (OPTIONAL)
logoColor color of logo String (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.

Package Sidebar

Install

npm i react-native-social-media-cards

Weekly Downloads

0

Version

1.4.5

License

MIT

Unpacked Size

5.4 kB

Total Files

6

Last publish

Collaborators

  • cyb3rsalih