Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@types/react-native-simple-radio-button
Advanced tools
Readme
npm install --save @types/react-native-simple-radio-button
This package contains type definitions for react-native-simple-radio-button (https://github.com/moschan/react-native-simple-radio-button).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-simple-radio-button.
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> {}
These definitions were written by Frabanz.
FAQs
TypeScript definitions for react-native-simple-radio-button
The npm package @types/react-native-simple-radio-button receives a total of 43,939 weekly downloads. As such, @types/react-native-simple-radio-button popularity was classified as popular.
We found that @types/react-native-simple-radio-button demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.