Wire it

Now we have our Container, we should register it with AppRegistry.

index.xxx.js

import React from 'react';
import {
  AppRegistry,
} from 'react-native';
import TodoApp from './src/containers/TodoApp';

const todoapp = () => (
 <TodoApp/>
)
AppRegistry.registerComponent('todoapp', () => todoapp);

Voila !

results matching ""

    No results matching ""