upd: list anggota

Deskripsi:
- ui list anggota

- note : blm selesai

No Issues
This commit is contained in:
amel
2025-02-28 17:22:02 +08:00
parent 81a234d5cd
commit e8ec2278d3
13 changed files with 194 additions and 15 deletions

View File

@@ -1,17 +1,17 @@
import Styles from "@/constants/Styles";
import { TouchableWithoutFeedback, View } from "react-native";
import { Pressable, Text, TouchableWithoutFeedback, View } from "react-native";
type PropsBtnHeader = {
onPress?: () => void;
onPress: () => void;
item: React.ReactNode;
};
export function ButtonHeader({ onPress, item }: PropsBtnHeader) {
return (
<TouchableWithoutFeedback onPress={onPress}>
<Pressable onPressOut={() => {onPress()}}>
<View style={[Styles.btnIconHeader]}>
{item}
</View>
</TouchableWithoutFeedback>
</Pressable>
)
}