react-native-a11y
Version:
Improvements of a11y for ReactNative, this library improve work with reader and keyboard focus and reader in general.
20 lines • 586 B
JavaScript
import React from "react";
import { Platform, requireNativeComponent, StyleSheet } from "react-native";
const AndroidPaneView = requireNativeComponent("RCA11yPaneView");
export const PaneView = _ref => {
let {
children
} = _ref;
return Platform.select({
android: /*#__PURE__*/React.createElement(AndroidPaneView, {
style: paneViewStyles.container
}, children),
default: /*#__PURE__*/React.createElement(React.Fragment, null, children)
});
};
const paneViewStyles = StyleSheet.create({
container: {
flex: 1
}
});
//# sourceMappingURL=PaneView.js.map