Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-rounded-checkbox

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-rounded-checkbox

Rounded Checkbox with animated and fully customizable options library for React Native

  • 0.3.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source
React Native Rounded Checkbox

Rounded Checkbox with animated and fully customizable options library for React Native

npm version npm Platform - Android and iOS License: MIT styled with prettier

React Native Rounded Checkbox React Native Rounded Checkbox

Installation

Add the dependency:

npm i react-native-rounded-checkbox

Peer Dependencies

IMPORTANT! You need install them
"@freakycoder/react-native-bounceable": ">= 0.1.1"

Usage

Import

import {
  RoundedCheckbox,
  PureRoundedCheckbox,
} from "react-native-rounded-checkbox";

Fundamental Usage

<RoundedCheckbox onPress={(checked) => console.log("Checked: ", checked)} />

PureComponent Usage

<PureRoundedCheckbox onPress={(checked) => console.log("Checked: ", checked)} />

Configuration - Props

PropertyTypeDefaultDescription
onPressfunctionundefinedset your own onPress functionality
activebooleanundefineddisables the built-in check system and it let's to control check system
childrencomponentTextchange the default Text component with any component like Icon from react-native-dynamic-vector-icons
textstring"L"change the default text value
isCheckedbooleanfalseset the initial checked state
checkedColorcolor#0bc8a5change the background color when checked state is true
uncheckedColorcolor#f0f0f0change the background color when checked state is false
checkedTextColorcolor#fdfdfdchange the text color when checked state is true
uncheckedTextColorcolor#5c5969change the text color when checked state is false
textStylestyledefaultset your own text style instead of default one
outerStylestyledefaultset your own outer style instead of default one
innerStylestyledefaultset your own inner style instead of default one

Future Plans

  • LICENSE
  • Write an article about the lib on Medium

Credits

Heavily inspired by William Candillon's Youtube Series

Author

FreakyCoder, kurayogun@gmail.com

License

React Native Rounded Checkbox is available under the MIT license. See the LICENSE file for more info.

Keywords

FAQs

Package last updated on 06 Oct 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc