import { Options , Layout } from 'react-native-navigation' ; /**
 * Creates basic navigation Layout only with component field.
 * [more info](https://wix.github.io/react-native-navigation/api/layout-component)
 */ function createLayout < P > ( /**
 * Name of your component
 */ name , /**
 * Properties to pass down to the component
 */ passProps ? , /**
 * Styling options
 */ options ? ) { return { component : { name , passProps : passProps ? passProps : undefined , options : options ? options : undefined , } , } ; } export default createLayout ;