From 47d5932fb578522d381bdeda43e8a1050f5a2099 Mon Sep 17 00:00:00 2001 From: Niklas Date: Fri, 22 Jan 2021 18:09:47 +0100 Subject: [PATCH] fill the whole screen with buttons --- src/App.tsx | 17 ++++++++--------- src/components/DeckButton.tsx | 11 ++++++++--- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 697353c..abf28bb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,19 +16,18 @@ import DeckButton from './components/DeckButton'; declare const global: {HermesInternal: null | {}}; const App = () => { + const buttons = []; + + for (let i = 0; i < 21; i++) { + let text = 'btn' + i; + buttons.push(); + } + return ( <>