Merge pull request #28 from janicduplessis/transparent-card

Add transparentCard option to fix cards with a transparent bg when using screens
This commit is contained in:
Brent Vatne
2018-09-24 13:32:16 -07:00
parent 4894bb5042
commit 00b83bb18d
5 changed files with 125 additions and 8 deletions

View File

@@ -6,6 +6,7 @@ import { createStackNavigator } from 'react-navigation-stack';
import { ListSection, Divider } from 'react-native-paper';
import SimpleStack from './src/SimpleStack';
import TransparentStack from './src/TransparentStack';
// Comment the following two lines to stop using react-native-screens
import { useScreens } from 'react-native-screens';
@@ -13,6 +14,11 @@ useScreens();
const data = [
{ component: SimpleStack, title: 'Simple', routeName: 'SimpleStack' },
{
component: TransparentStack,
title: 'Transparent',
routeName: 'TransparentStack',
},
];
class Home extends React.Component {