From a87e6f11f824676f5448c0dcc18b49ab886417dd Mon Sep 17 00:00:00 2001 From: Marcin Dziewulski Date: Mon, 12 Apr 2021 23:41:11 +0200 Subject: [PATCH] Update example --- .../typescript/screens/Playground/index.tsx | 255 ++++++++++-------- 1 file changed, 138 insertions(+), 117 deletions(-) diff --git a/example/src/typescript/screens/Playground/index.tsx b/example/src/typescript/screens/Playground/index.tsx index 1d823021..f6bbfbe1 100644 --- a/example/src/typescript/screens/Playground/index.tsx +++ b/example/src/typescript/screens/Playground/index.tsx @@ -1,136 +1,157 @@ import React from 'react' -import { Text } from 'react-native' +import { ScrollView, Text } from 'react-native' import { Box, Columns, Column, Stack, Inline, Tiles, FillView } from '@mobily/stacks' import { Placeholder } from '../../components/Placeholder' export const Playground = () => { return ( - - - Columns - - - - C1 - - - C2 - - - C3 - - - - - C1 - - - - - C21 - - - C22 - - - - - - T1 - T2 - T3 - - - - - - C1 - - - C2 - - - C3 - - - C4 - - - - - - - C11 - - - C12 - - - - - C2 - C3 - - - + + + + Columns + + + + C1 + + + C2 + + + C3 + + + + + C1 + + + + + C21 + + + C22 + + + + + + T1 + T2 + T3 + + + + + + C1 + + + C2 + + + C3 + + + C4 + + + + + + + C11 + + + C12 + + + + + C2 + C3 + + + - Inline - - inline 1 - inline 2 - inline 3 - - - Lorem ipsum - Quisquam hic - nulla ad velit - Lorem ipsum - + Inline + + inline 1 + inline 2 + inline 3 + + + Lorem ipsum + Quisquam hic + nulla ad velit + Lorem ipsum + - Tiles - - T1 - T2 - T3 - T4 - T5 - + Tiles + + T1 + T2 + T3 + T4 + T5 + - Box - - - - B1 - B2 - - - - - B0 - + Box + + + + B1 + B2 + + + + + B0 + + + B1 - B1 - - - T1 - T2 - T3 - - - + + + T1 + + + T2 + + + T3 + + + T1 - - T2 - - T3 - + + + + T1 + + + T2 + + + T3 + + + + + T1 + + + T2 + + - - + + ) }