upd: ui home

Deskripsi:
- update package
- ui diskusi home
- ui event home
- ui bar chart home
- ui pie chart home
- ui divisi home

No Issues
This commit is contained in:
amel
2025-02-26 12:32:01 +08:00
parent 31b85dad69
commit 633b18e92d
19 changed files with 477 additions and 10 deletions

View File

@@ -0,0 +1,22 @@
import Styles from "@/constants/Styles";
import React from "react";
import { Text, TouchableWithoutFeedback, View } from "react-native";
type Props = {
onPress?: () => void;
icon: React.ReactNode;
text: string;
};
export function ButtonFiturMenu({ onPress, icon, text }: Props) {
return (
<TouchableWithoutFeedback onPress={onPress}>
<View style={{ alignItems: 'center' }}>
<View style={[Styles.btnFiturMenu]}>
{icon}
</View>
<Text style={[Styles.mt05]}>{text}</Text>
</View>
</TouchableWithoutFeedback>
)
}