You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

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

2.7.7
ts4.6
ts4.7
ts4.8
ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

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, react-native

Credits

These definitions were written by Frabanz.

FAQs

Package last updated on 21 Dec 2023

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