We haven't any example for creating new pages. for example we need push screen, but we didn't know what we must send as a containerId. Can you send us any example of container?
Now we get error " unknown LayoutType name, props"? What must be name and Props.
[FILL THIS OUT - It will be extremely helpful]
We are still working on a new documentation.
This is the simplest layout example:
```js
Navigation.setRoot({
stack: {
children: [{
component: {
name: 'navigation.playground.TextScreen',
passProps: {
text: 'This is screen 1'
}
}
}],
options: {
topBar: {
title: 'Top bar Title'
}
}
}
}
You can also take a look at the example project main file: https://github.com/wix/react-native-navigation/blob/v2/playground/src/screens/WelcomeScreen.js
It contains different layout usages.
Most helpful comment
We are still working on a new documentation.
This is the simplest layout example:
```js
Navigation.setRoot({
stack: {
children: [{
component: {
name: 'navigation.playground.TextScreen',
passProps: {
text: 'This is screen 1'
}
}
}],
options: {
topBar: {
title: 'Top bar Title'
}
}
}
}
You can also take a look at the example project main file: https://github.com/wix/react-native-navigation/blob/v2/playground/src/screens/WelcomeScreen.js
It contains different layout usages.