Skip to content

Commit 52b0ac0

Browse files
Maksandrehepter
authored andcommitted
disabled option
1 parent e886fdc commit 52b0ac0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ export default class ModalSelector extends React.Component {
276276
accessibilityLabel={option.accessibilityLabel || undefined}
277277
importantForAccessibility={isFirstItem ? 'yes' : 'no'}
278278
{...this.props.passThruProps}
279+
disabled={option.disabled}
279280
>
280281
<View style={[styles.optionStyle, this.props.optionStyle, isLastItem && { borderBottomWidth: 0 }]}>
281282
{component}

0 commit comments

Comments
 (0)