UNPKG

@wordpress/components

Version:
30 lines (26 loc) 636 B
import { createElement } from "@wordpress/element"; /** * External dependencies */ import { View } from 'react-native'; /** * Internal dependencies */ import ApplyButton from './apply-button'; import Button from './back-button'; import Heading from './heading'; import styles from './styles.scss'; function NavBar(_ref) { let { children } = _ref; return createElement(View, { style: styles['nav-bar'] }, children); } NavBar.ApplyButton = ApplyButton; NavBar.BackButton = Button.Back; NavBar.DismissButton = Button.Dismiss; NavBar.Heading = Heading; export default NavBar; //# sourceMappingURL=index.native.js.map