Skip to content

Commit a6cc587

Browse files
committed
remove Accessibility TextInput Example
1 parent efd34da commit a6cc587

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -882,27 +882,6 @@ class EnabledExample extends React.Component<{}> {
882882
}
883883
}
884884

885-
class TextInputExamples extends React.Component<$FlowFixMeProps, any> {
886-
constructor(props) {
887-
super(props);
888-
this.state = {focused: false};
889-
}
890-
render() {
891-
return (
892-
<View>
893-
<TextInput
894-
accessible={true}
895-
accessibilityState={{selected: this.state.focused}}
896-
showSoftInputOnFocus={false}
897-
onFocus={() => this.setState({focused: true})}
898-
onBlur={() => this.setState({focused: false})}
899-
style={styles.default}
900-
/>
901-
</View>
902-
);
903-
}
904-
}
905-
906885
exports.title = 'Accessibility';
907886
exports.documentationURL = 'https://reactnative.dev/docs/accessibilityinfo';
908887
exports.description = 'Examples of using Accessibility APIs.';

0 commit comments

Comments
 (0)