WrathChaos/react-native-bouncy-checkbox-group

isChecked first checkbox group

JoseDRD opened this issue · 1 comments

How can I set the first 'check' in checkbox group?

export const dataCheck = [
    {
        id: 0,
        text: 'first option',
        isChecked: true,
    },{
        id: 1,
        text: 'second option',
    },{
        id: 2,
        text: 'third option',
    }
]

The isChecked property for that doesn't work

Hello @JoseDRD
Can you try to use initial prop?

Simply you can use initial={0} and it should check the first time as default