Я использую реагирующую нативную таблицу действий. Как я могу отключить ActionSheet, который используется в качестве средства выбора (сделать его недоступным для нажатия)?
Я пытался: editable={false}
. Есть ли лучшие подходы?
<View style={styles.Column}>
<Text style={styles.TextLabel} onPress={this.showActionSheet}>Structure Type:</Text>
<ActionSheet
ref={o => this.ActionSheet = o}
title={'Structure Type'}
options={['first', 'second', 'third', 'Cancel']}
cancelButtonIndex={3}
selectedValue={this.state.structureType}
value={this.state.structureType}
onPress={this.handleSTypePress}
editable={false}
/>
</View>