ThakurBallary / react-native-radio-buttons-group

Simple, best and easy to use radio buttons for react native apps.
MIT License
248 stars 70 forks source link

labelStyle is missing in the Type definitions #70

Closed D4uS1 closed 5 months ago

D4uS1 commented 5 months ago

The RadioGroup component has a labelStyle prop, as denoted in the Readme. The prop works, but seems not to be defined in the components type definitions. I need to use @ts-ignore to make the code compile.

...
        <RadioGroup
            radioButtons={radioButtons}
            onPress={onChange}
            selectedId={props.value}

            // @ts-ignore this props is not defined in the typings, but exists
            labelStyle={stylesheet.label}
        />
ThakurBallary commented 5 months ago

Added in v3.0.7.