UNPKG

react-native-a11y

Version:

Improvements of a11y for ReactNative, this library improve work with reader and keyboard focus and reader in general.

17 lines 541 B
import React from 'react'; import { Platform, requireNativeComponent, StyleSheet } from 'react-native'; const AndroidPaneView = requireNativeComponent('RCA11yPaneView'); export const PaneView = ({ children }) => 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