Revize 039c5147
Přidáno uživatelem Schwobik před téměř 2 roky(ů)
src/components/loading/LoadingBox.tsx | ||
---|---|---|
1 |
import { Center, Box, VStack, Button, HStack, Text, Image, ScrollView, Heading, Spinner } from "native-base"
|
|
1 |
import { HStack, Heading, Spinner } from "native-base"
|
|
2 | 2 |
import React from "react" |
3 | 3 |
|
4 | 4 |
|
... | ... | |
7 | 7 |
} |
8 | 8 |
|
9 | 9 |
const LoadingBox = (props: LoadingBoxProps) => { |
10 |
const { text } = props;
|
|
10 |
const { text } = props |
|
11 | 11 |
|
12 | 12 |
return ( |
13 | 13 |
<HStack alignItems="center" flex="1" justifyContent="center"> |
... | ... | |
16 | 16 |
{text} |
17 | 17 |
</Heading> |
18 | 18 |
</HStack> |
19 |
);
|
|
19 |
) |
|
20 | 20 |
} |
21 | 21 |
|
22 | 22 |
|
Také k dispozici: Unified diff
Refactoring
re #10715