/* This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. */importReactfrom'react';import{requireNativeComponent,ViewPropTypes}from'react-native';constiface={name:'AccessibilityFocus',propTypes:{...ViewPropTypes,// include the default view properties},};constemptyFn=(_)=>_;constRNAccessibilityFocus=requireNativeComponent('AccessibilityFocus',iface,);exportdefaultclassAndroidAccessibleImageextendsReact.Component{render(){return(<RNAccessibilityFocusstyle={{...this.props.style}}onAccessibilityFocusStart={this.props.onFocusStart?this.props.onFocusStart:emptyFn}onAccessibilityFocusEnd={this.props.onFocusEnd?this.props.onFocusEnd:emptyFn}>{this.props.children}</RNAccessibilityFocus>);}}