# @types/react-native-simple-radio-button

> TypeScript definitions for react-native-simple-radio-button

Latest version **2.7.7** (published 2023-12-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-native-simple-radio-button
pnpm add @types/react-native-simple-radio-button
yarn add @types/react-native-simple-radio-button
bun add @types/react-native-simple-radio-button
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.7.7 |
| Published | 2023-12-21 |
| First published | 2020-10-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51448 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-native-simple-radio-button
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-simple-radio-button
- npm.io page: https://npm.io/package/@types/react-native-simple-radio-button

## Dependencies (2)

- [@types/react](https://npm.io/package/@types/react.md) *
- [react-native](https://npm.io/package/react-native.md) *

## Recent versions

- 2.7.7 (latest) — 2023-12-21
- 2.7.6 (ts4.5) — 2023-11-07
- 2.7.2 (ts3.8) — 2021-11-25
- 2.7.1 (ts3.6) — 2021-07-08
- 2.7.0 (ts3.2) — 2020-10-20
- 2.7.5 — 2023-10-27
- 2.7.4 — 2023-10-18
- 2.7.3 — 2023-09-27

## README

# Installation
> `npm install --save @types/react-native-simple-radio-button`

# Summary
This package contains type definitions for react-native-simple-radio-button (https://github.com/moschan/react-native-simple-radio-button).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-simple-radio-button.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-simple-radio-button/index.d.ts)
````ts
import * as React from "react";
import { StyleProp, TextStyle, ViewStyle } from "react-native";

export interface DefaultRadioFormProps {
    accessible?: boolean | undefined;
    accessibilityLabel?: string | undefined;
    testID?: string | undefined;
    onPress?: ((val?: any) => any) | undefined;
}

export interface ReactNativeRadioFormProps extends DefaultRadioFormProps {
    children?: React.ReactNode;
    radio_props?: Array<{ label: string; value: string | number }> | undefined;
    initial?: number | undefined;
    buttonColor?: string | undefined;
    labelColor?: string | undefined;
    formHorizontal?: boolean | undefined;
    labelHorizontal?: boolean | undefined;
    animation?: boolean | undefined;
    style?: StyleProp<ViewStyle> | undefined;
}

export interface RadioButtonProps {
    children?: React.ReactNode;
    isSelected?: boolean | undefined;
    labelHorizontal?: boolean | undefined;
    buttonColor?: string | undefined;
    selectedButtonColor?: string | undefined;
    labelColor?: string | undefined;
    style?: StyleProp<ViewStyle> | undefined;
    wrapStyle?: StyleProp<ViewStyle> | undefined;
    idSeparator?: string | undefined;
}

export interface RadioButtonInputProps extends DefaultRadioFormProps {
    obj: object;
    index: number;
    isSelected?: boolean | undefined;
    buttonInnerColor?: string | undefined;
    buttonOuterColor?: string | undefined;
    buttonSize?: number | undefined;
    buttonOuterSize?: number | undefined;
    buttonStyle?: StyleProp<ViewStyle> | undefined;
    buttonWrapStyle?: StyleProp<ViewStyle> | undefined;
}

export interface RadioButtonLabelProps extends DefaultRadioFormProps {
    obj: object;
    index: number;
    labelHorizontal?: boolean | undefined;
    labelStyle?: StyleProp<TextStyle> | undefined;
    labelWrapStyle?: StyleProp<ViewStyle> | undefined;
}

export class RadioButton extends React.Component<RadioButtonProps> {}

export class RadioButtonInput extends React.Component<RadioButtonInputProps> {}

export class RadioButtonLabel extends React.Component<RadioButtonLabelProps> {}

export default class RadioForm extends React.Component<ReactNativeRadioFormProps> {}

````

### Additional Details
 * Last updated: Thu, 21 Dec 2023 19:06:51 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [react-native](https://npmjs.com/package/react-native)

# Credits
These definitions were written by [Frabanz](https://github.com/Frabanz).

---
_Source: https://npm.io/package/@types/react-native-simple-radio-button · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
