upd: redesign
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import { ColorsStatus } from "@/constants/ColorsStatus";
|
||||
import Styles from "@/constants/Styles";
|
||||
import { useTheme } from "@/providers/ThemeProvider";
|
||||
import { AntDesign } from "@expo/vector-icons";
|
||||
import Text from "./Text";
|
||||
import { View } from "react-native";
|
||||
import ProgressBar from "./progressBar";
|
||||
import Text from "./Text";
|
||||
|
||||
type Props = {
|
||||
text: string,
|
||||
@@ -15,9 +14,9 @@ export default function SectionProgress({ text, progress }: Props) {
|
||||
const { colors } = useTheme();
|
||||
|
||||
return (
|
||||
<View style={[Styles.p15, { flexDirection: 'row', borderRadius: 10, alignItems: 'center', backgroundColor: colors.card }]}>
|
||||
<View style={[Styles.iconContent, { alignItems: 'center', justifyContent: 'center', backgroundColor: colors.primary }]}>
|
||||
<AntDesign name="areachart" size={30} color={'#384288'} />
|
||||
<View style={[Styles.wrapPaper, Styles.rowItemsCenter, { backgroundColor: colors.card }]}>
|
||||
<View style={[Styles.iconContent]}>
|
||||
<AntDesign name="areachart" size={30} color={'black'} />
|
||||
</View>
|
||||
<View style={[Styles.ml10, { flex: 1 }]}>
|
||||
<Text style={[Styles.mb05]}>{text}</Text>
|
||||
|
||||
Reference in New Issue
Block a user