ThakurBallary / react-native-radio-buttons-group

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

borderColor and labelStyle props are not working. #67

Closed peterchijioke closed 10 months ago

peterchijioke commented 11 months ago

When I try using the "borderColor" prop, it typescript alway throws this error and it dose not work at all.

Type '{ containerStyle: { width: "100%"; display: "flex"; alignItems: "flex-start"; flexDirection: "column"; gap: number; marginTop: number; }; borderColor: string; radioButtons: { id: string; label: string; value: string; }[]; onPress: (item: string) => void; selectedId: string | undefined; }' is not assignable to type 'IntrinsicAttributes & RadioGroupProps'. Property 'borderColor' does not exist on type 'IntrinsicAttributes & RadioGroupProps'.

ThakurBallary commented 10 months ago

Here is the Snack Example