style: Adapt dialog to the dark theme (#196)

* style: Adapt dialog to the dark theme

* chore:  Remove unused default prop & set correct elevation style & rename import

* style: Fix textinput background color

* chore: Add missing proptypes

* chore: Update with latest master
This commit is contained in:
Ahmed Elhanafy
2017-11-03 17:36:25 +02:00
committed by Ferran Negre
parent bf0d65a17f
commit c552aa0951
13 changed files with 110 additions and 58 deletions

View File

@@ -1,6 +1,7 @@
/* @flow */
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { View, StyleSheet } from 'react-native';
import {
Caption,
@@ -13,6 +14,9 @@ import {
class TextExample extends Component {
static title = 'Typography';
static propTypes = {
theme: PropTypes.object.isRequired,
};
render() {
const { theme: { colors: { background } } } = this.props;