react-native-fly-radio-button

0.0.2 • Public • Published

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>
    );
  }
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i react-native-fly-radio-button

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    4.47 kB

    Total Files

    4

    Last publish

    Collaborators

    • donghwa.lee