Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 67b916af

Přidáno uživatelem Fantič před více než 1 rok

#re 10797 LoadingBox refactor size

Zobrazit rozdíly:

src/components/loading/LoadingBox.tsx
1
import { HStack, Heading, Spinner } from "native-base"
1
import { Box, HStack, Heading, Spinner } from "native-base"
2 2
import React from "react"
3 3

  
4 4

  
......
10 10
    const { text } = props
11 11

  
12 12
    return (
13
        <HStack alignItems="center" flex="1" justifyContent="center">
14
            <Spinner/>
15
            <Heading color="primary.400" fontSize="md">
16
                {text}
17
            </Heading>
18
        </HStack>
13
        <Box width="100%" marginTop="20" height="8">
14
            <HStack alignItems="center" flex="1" justifyContent="center">
15
                <Spinner />
16
                <Heading color="primary.400" fontSize="md">
17
                    {text}
18
                </Heading>
19
            </HStack>
20
        </Box>
19 21
    )
20 22
}
21 23

  

Také k dispozici: Unified diff