New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@chainplatform/checkbox

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chainplatform/checkbox

@chainplatform/checkbox is a React Native library that provides a Checkbox component for react-native and react-native-web.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
0
Created
Source

React Native Checkbox

@chainplatform/checkbox is a React Native library that provides a Checkbox component for react-native and react-native-web.

Follow @doansan

Install

npm install @chainplatform/checkbox --save

or

yarn add @chainplatform/checkbox

Usage

import React from 'react';
import {StyleSheet} from 'react-native';
import CheckBox from '@chainplatform/checkbox';

class App extends React.Component {

  render() {
    return (
      <View style={{flex:1}}>
            <CheckBox
                    onClick={() => {
                        this.setState({isChecked: true});
                    }}
                    isChecked={this.state.isChecked}
                    text={"Check Box"}
                    textStyle={{
                        fontSize: 14,
                        marginLeft: 3,
                        color: "green"
                    }}
                    textAlign={'right'}
                />
      </View>
    );
  }
}

Keywords

react

FAQs

Package last updated on 05 Aug 2024

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