Remove all native base dependencies.
This commit is contained in:
@@ -1,26 +1,24 @@
|
||||
import { Container, Content, H1 } from "native-base";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Image, StyleSheet } from "react-native";
|
||||
import { Image, StyleSheet, View } from "react-native";
|
||||
import { BarIndicator } from "react-native-indicators";
|
||||
import { Title } from "react-native-paper";
|
||||
import Logo from "../../assets/logo192.png";
|
||||
import styles from "../styles";
|
||||
|
||||
export default function ScreenSplash() {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<Container>
|
||||
<Content
|
||||
contentContainerStyle={[
|
||||
styles.contentContainer__centered,
|
||||
localStyles.middleAlign,
|
||||
]}
|
||||
>
|
||||
<Image style={localStyles.logo} source={Logo} />
|
||||
<H1>{t("app.title")}</H1>
|
||||
<BarIndicator count={5} color="dodgerblue" />
|
||||
</Content>
|
||||
</Container>
|
||||
<View
|
||||
contentContainerStyle={[
|
||||
styles.contentContainer__centered,
|
||||
localStyles.middleAlign,
|
||||
]}
|
||||
>
|
||||
<Image style={localStyles.logo} source={Logo} />
|
||||
<Title>{t("app.title")}</Title>
|
||||
<BarIndicator count={5} color="dodgerblue" />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
const localStyles = StyleSheet.create({
|
||||
|
||||
Reference in New Issue
Block a user