JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 53
  • Score
    100M100P100Q75680F

Social Media Icons for React Native

Package Exports

  • react-native-ico-social-media
  • react-native-ico-social-media/src/data/social-media

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-ico-social-media) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-ico-social-media

Social Media Icons for React Native

49 Icons

Usage

import Icon from 'react-native-ico-social-media';


// Inside some view component
render() {
    return (
        <Fragment>
          <Icon name="home" />
          <Icon name="file" height="40" width="40" />
          <Icon name="smile" color="red" />
        </Fragment>
    );
}

Installation

yarn

yarn add react-native-ico-social-media react-native-svg

npm

npm install --save react-native-ico-social-media react-native-svg
react-native link react-native-svg

pod install ( for iOS )

cd ios && pod install && cd ..

API

<Icon name [color width height ...rest] />

Returns a SvgXml icon by name and group.

name optional default value description examples
name no name of file "home"
color yes line color, css style "#00ff00", "#0f0", "green"
width yes 20 width of the icon 40
height yes 20 height of the icon 40
...rest no other props style={{backgroundColor: "#00f"}}

List of icons

Icons Made by

Dave Gandy

Created by

Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua