upd: projeect
Deskripsi: - ui list project - ui grid project - ui create project No Issues
This commit is contained in:
23
components/sectionProgress.tsx
Normal file
23
components/sectionProgress.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import { ColorsStatus } from "@/constants/ColorsStatus";
|
||||
import Styles from "@/constants/Styles";
|
||||
import { AntDesign } from "@expo/vector-icons";
|
||||
import { Text, View } from "react-native";
|
||||
import ProgressBar from "./progressBar";
|
||||
|
||||
type Props = {
|
||||
text: string
|
||||
}
|
||||
|
||||
export default function SectionProgress({ text }: Props) {
|
||||
return (
|
||||
<View style={[ColorsStatus.lightGreen, Styles.p15, { flexDirection: 'row', borderRadius: 10, alignItems: 'center' }]}>
|
||||
<View style={[Styles.iconContent, ColorsStatus.orange, { alignItems: 'center', justifyContent: 'center' }]}>
|
||||
<AntDesign name="areachart" size={30} color={'#384288'} />
|
||||
</View>
|
||||
<View style={[Styles.ml10, { flex: 1 }]}>
|
||||
<Text style={[Styles.mb05]}>{text}</Text>
|
||||
<ProgressBar margin={0} />
|
||||
</View>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user