From e9cb0e7e50d85e500b6a007559e0843f5db76c17 Mon Sep 17 00:00:00 2001 From: Niklas Date: Fri, 22 Jan 2021 01:29:40 +0100 Subject: [PATCH] first implementation of deck buttons --- src/App.tsx | 107 +++++----------------------------- src/components/Deck.tsx | 18 ++++++ src/components/DeckButton.tsx | 28 +++++++++ 3 files changed, 59 insertions(+), 94 deletions(-) create mode 100644 src/components/Deck.tsx create mode 100644 src/components/DeckButton.tsx diff --git a/src/App.tsx b/src/App.tsx index 08d25c9..697353c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -9,110 +9,29 @@ */ import React from 'react'; -import { - SafeAreaView, - StyleSheet, - ScrollView, - View, - Text, - StatusBar, -} from 'react-native'; - -import { - Header, - LearnMoreLinks, - Colors, - DebugInstructions, - ReloadInstructions, -} from 'react-native/Libraries/NewAppScreen'; +import {SafeAreaView, StatusBar} from 'react-native'; +import Deck from './components/Deck'; +import DeckButton from './components/DeckButton'; declare const global: {HermesInternal: null | {}}; const App = () => { return ( <> - +