[go: up one dir, main page]

Skip to content

jaychsu/react-native-reseau

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-reseau

[WIP] This project is still in progress.

Usage

import Reseau from 'react-native-reseau'

const data = [
  { src: require('./assets/Facebook.jpg'), title: 'Facebook', anything: 123 },
  { src: 'http://iosicongallery.com/img/256/instagram-2016.png', title: 'Instagram', anything: 564 },
  { src: 'data:image/png;base64,iVBORw0KGgoAAAANS...', title: 'Facebook Messenger', anything: 314 },
]

<Reseau data={data} />

Special props in data:

  • o?: number order
  • g?: string group name

Development

  1. Clone the enviroment project: jaychsu/react-native-env.
  2. Update the submodule called react-native-reseau.
  3. Run command to start, for example: react-native run-ios.