Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/UsingNavigators.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default class MyScene extends Component {
}
}
```
Note, the file extension **must** be `.js` and not `.jsx`. Components with a `.jsx` extension will fail to load.

Notice the `export default` in front of the component declaration. This will _export_ the component, and in turn allow other components to _import_ it later on, like so:

Expand Down