feat(web/RN): update React to v16 and React Native to 0.49

This commit is contained in:
paweldomas
2017-10-24 17:26:56 -05:00
committed by Saúl Ibarra Corretgé
parent e520319af2
commit b74bede0e7
60 changed files with 3327 additions and 557 deletions

View File

@@ -15,7 +15,7 @@ declare var interfaceConfig: Object;
* @class PrimaryToolbar
* @extends Component
*/
class PrimaryToolbar extends Component {
class PrimaryToolbar extends Component<*, *> {
static propTypes = {
/**
@@ -36,7 +36,7 @@ class PrimaryToolbar extends Component {
*
* @returns {ReactElement}
*/
render(): ReactElement<*> | null {
render(): React$Element<*> | null {
const { _primaryToolbarButtons } = this.props;
// The number of buttons to show in the toolbar isn't fixed, it depends