Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including react-native-fly-radio-button with all npm packages installed. Try it out:

var reactNativeFlyRadioButton = require("react-native-fly-radio-button")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

react-native-fly-radio-button v0.0.2

Radio button component for React Native

react-native-fly-radio-button

Radio button component for React Native

Installation

Since the library is a JS-based solution, to install the latest version of react-native-fly-radio-button you only need to run:

npm install --save react-native-fly-radio-button

Basic Usage

import React from 'react';
import { View } from 'react-native';
import FlyRadioButton from 'react-native-fly-radio-button';

export default class App extends React.Component {
  render() {
    return (
      <View>
        <FlyRadioButton
          isSelected={true}
          title="Item name"
          onPress={() => {/* Something to do */ }}
        />
      </View>
    );
  }
}
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free