chore: upgrade flow and dependencies (#200)

This commit is contained in:
Satyajit Sahoo
2017-11-07 15:51:17 +05:30
committed by Ferran Negre
parent 4ba4f279b1
commit bb51586351
90 changed files with 2190 additions and 1708 deletions

View File

@@ -1,11 +1,20 @@
/* @flow */
import React, { Component } from 'react';
import * as React from 'react';
import PropTypes from 'prop-types';
import { ScrollView, StyleSheet } from 'react-native';
import { TextInput, withTheme } from 'react-native-paper';
import type { Theme } from 'react-native-paper/types';
class TextInputExample extends Component {
type Props = {
theme: Theme,
};
type State = {
text: string,
};
class TextInputExample extends React.Component<Props, State> {
static title = 'TextInput';
static propTypes = {
theme: PropTypes.object.isRequired,