upd: list anggota
Deskripsi: - ui list anggota - note : blm selesai No Issues
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user