Skip to content

Commit 1455443

Browse files
authored
Picker - add accessibilityInfo to custom picker (#641)
1 parent f814950 commit 1455443

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/components/picker/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,13 @@ class Picker extends BaseComponent {
336336
const {value} = this.state;
337337
return (
338338
<View left>
339-
<Button {...customPickerProps} link onPress={this.handlePickerOnPress} testID={testID}>
339+
<Button
340+
{...this.getAccessibilityInfo()}
341+
{...customPickerProps}
342+
link
343+
onPress={this.handlePickerOnPress}
344+
testID={testID}
345+
>
340346
{renderPicker(value)}
341347
</Button>
342348
{this.renderExpandableModal()}

0 commit comments

Comments
 (0)