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

react-native-radio-buttons-group

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-radio-buttons-group - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

1

lib/types.ts

@@ -17,2 +17,3 @@ export type RadioButtonProps = {

export type RadioGroupProps = {
containerStyle?: object;
layout?: 'row' | 'column';

@@ -19,0 +20,0 @@ onPress?: (radioButtons: RadioButtonProps[]) => void;

2

package.json
{
"name": "react-native-radio-buttons-group",
"version": "2.2.4",
"version": "2.2.5",
"description": "Simple and Best. An easy to use radio buttons for react native apps.",

@@ -5,0 +5,0 @@ "main": "./lib/index.ts",

# React Native Radio Buttons Group
Simple and Best. An easy to use radio buttons for react native apps.
Simple, best and easy to use radio buttons for react native apps.

@@ -17,7 +17,7 @@ ![npm](https://img.shields.io/npm/v/react-native-radio-buttons-group) ![LICENSE MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)

```
```bash
npm i react-native-radio-buttons-group --save
```
or
```
```bash
yarn add react-native-radio-buttons-group

@@ -31,3 +31,3 @@ ```

###### App.js
```
```jsx
import React, { useState } from 'react';

@@ -68,3 +68,3 @@ import RadioGroup from 'react-native-radio-buttons-group';

###### App.tsx
```
```tsx
import React, { useState } from 'react';

@@ -111,3 +111,3 @@ import RadioGroup, {RadioButtonProps} from 'react-native-radio-buttons-group';

disabled | boolean | no | false | true / false
id | string | yes | | any string
id | string | yes | | unique string
label | string | no | | any string

@@ -124,2 +124,3 @@ labelStyle | object | no | | react style

--- | --- | --- | --- | ---
containerStyle | object | no | | react style
layout | enum | no | column | row / column

@@ -130,3 +131,3 @@ onPress | function | no | | any function

###### Horizontal (side by side)
```
```jsx
<RadioGroup

@@ -133,0 +134,0 @@ radioButtons={radioButtons}

Sorry, the diff of this file is not supported yet

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