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.0.1 to 2.1.0

lib/index.ts

21

index.d.ts
import * as React from "react";
export interface RadioButtonProps {
color?: string;
disabled?: boolean;
id: string;
label?: string;
labelStyle?: object;
layout?: "row" | "column";
onPress?: (id: string) => void;
selected?: boolean;
size?: number;
value?: string;
}
import { RadioGroupProps } from "./lib";
export interface RadioGroupProps {
layout?: "row" | "column";
onPress?: (radioButtons: RadioButtonProps[]) => void;
radioButtons: RadioButtonProps[];
}
declare class RadioGroup extends React.Component<RadioGroupProps, any> {}
export * from "./lib/types";
export default RadioGroup;

@@ -1,2 +0,2 @@

import RadioButtonsGroup from "./lib/RadioButtonsGroup";
import RadioButtonsGroup from "./lib";
export default RadioButtonsGroup;
{
"name": "react-native-radio-buttons-group",
"version": "2.0.1",
"version": "2.1.0",
"description": "Simple and Best. An easy to use radio buttons for react native apps.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -105,2 +105,3 @@ # React Native Radio Buttons Group

color | string | no | #444 | css color formats
containerStyle | object | no | | react style
disabled | boolean | no | false | true / false

@@ -107,0 +108,0 @@ id | string | yes | | any string

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