react-native-nav
Version:
A cross-platform (iOS / Android), fully customizable, React Native Navigation Bar component.
24 lines (19 loc) • 422 B
JavaScript
import React from "react"
import PropTypes from "prop-types"
import { View, ViewPropTypes } from "react-native"
import styles from "../styles"
function NavGroup({ style, children }) {
return (
<View style={[styles.navGroup, style]}>
{children}
</View>
)
}
NavGroup.propTypes = {
style: ViewPropTypes.style,
children: PropTypes.node,
}
NavGroup.defaultProps = {
style: {},
}
export { NavGroup }