Hi everyone, I hope you will help me soon!
I am on v1 of gluestack and I am using the checkbox component.
However, I can't figure out how the isIndeterminate prop works (bool false To manually set indeterminate to the checkbox.).
I use it as the props of my checkbox but I don't see any change. I always see it as checked. Are there any requirements to make it change appearance for example if it is checked true and isIndeterminate true gives problems?
Here is how I pass the props to my checknbox:
<Checkbox
size="sm”
isInvalid={false}
isDisabled={false}
value={id}
isChecked={isChecked}
onChange={handleCheckboxClick}
isIndeterminate={isIndeterminate}
>
<CheckboxIndicator mr=“$2”>
<CheckboxIcon as={CheckIcon} />
</CheckboxIndicator>
<CheckboxLabel>{label}</CheckboxLabel>
</Checkbox>