Socket
Book a DemoInstallSign in
Socket

react-native-roulette

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-roulette

react native roulette

Source
npmnpm
Version
0.0.4
Version published
Weekly downloads
5
-61.54%
Maintainers
1
Weekly downloads
 
Created
Source

Roulette component for react-native

Installation

npm install react-native-roulette

Properties

step// Roulette items argin
radius={300} // Roulette radius
distance={100} // Distance from center
renderCenter // render custom center
customStyle // styles
customCenterStyle // styles

Usage example

...

import Roulette from 'react-native-roulette';

<Roulette>
            <AppIcon
              ref="icon"
              logo={TAPBOO_LOGO}
              title="TAPBOO"
              onPress={() => Actions.tapboo()}
            />
            <AppIcon
              ref="icon"
              logo={TUCHAT_LOGO}
              title="TUCHAT"
              onPress={() => Actions.tuchat()}
            />
            <AppIcon
              ref="icon"
              logo={DEV2UP_LOGO}
              title="DEV2UP"
              onPress={() => Actions.dev2up()}
            />
            <AppIcon
              ref="icon"
              logo={TAPBOO_LOGO}
              title="TAPBOO"
              onPress={() => Actions.tapboo()}
            />
            <AppIcon
              ref="icon"
              logo={TUCHAT_LOGO}
              title="TUCHAT"
              onPress={() => Actions.tuchat()}
            />
            <AppIcon
              ref="icon"
              logo={TUCHAT_LOGO}
              title="TUCHAT"
              onPress={() => Actions.tuchat()}
            />
</Roulette>
...

Keywords

react-native

FAQs

Package last updated on 24 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts