mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-14 09:59:26 +08:00
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:
committed by
Ferran Negre
parent
bf0d65a17f
commit
c552aa0951
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user