Having trouble solving this issue. Need assistance with evaluating 'this.props.speciesSelection.modalize'
<BarcodeInput
speciesSelection={this.props.speciesSelection}
species={species[0]}
barcode={{ manufacturerValue: "", codeValue: "" }}
onChangeText={this.onChangeText}
/>
class BarcodeInput extends React.Component<Props, State> {
onPrefixPress = () => {
Keyboard.dismiss();
this.props.speciesSelection.modalize.open();
this.props.speciesSelection.modalizeOpened = true;
}
Encountering a red box when interacting with the button in onPrefixPress.