From ea42cb1ede36ea9c8184ef5d70668aad8cc01910 Mon Sep 17 00:00:00 2001 From: Drzaln Date: Fri, 15 Jan 2021 10:28:40 +0700 Subject: [PATCH] add detail screen --- App.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/App.js b/App.js index 881c135..d4f8b76 100644 --- a/App.js +++ b/App.js @@ -34,8 +34,8 @@ const MyStack = () => { }, gestureEnabled: false, transitionSpec: { - open: { animation: timing, config: { duration: 10 } }, - close: { animation: timing, config: { duration: 10 } } + open: { animation: timing, config: { duration: 100 } }, + close: { animation: timing, config: { duration: 100 } } }, cardStyleInterpolator: ({ current: { progress } }) => { return { @@ -43,7 +43,8 @@ const MyStack = () => { opacity: progress, } } - } + }, + cardStyle:{backgroundColor: '#030610'}, }} headerMode='screen'>