From 80ee44d03551cbea2fc2b3bbd00effebfb16d5a8 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sun, 24 Jul 2016 00:58:18 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/using-navigators.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/next/docs/using-navigators.html b/releases/next/docs/using-navigators.html index 212b8b299fc..a7c2815f61b 100644 --- a/releases/next/docs/using-navigators.html +++ b/releases/next/docs/using-navigators.html @@ -16,7 +16,7 @@ export default class MyScene extends ) } }

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:

import React, { Component } from 'react'; -import { View, Text } from 'react-native'; +import { AppRegistry } from 'react-native'; import MyScene from './MyScene';