Deskripsi; - ui tambah diskusi - ui edit diskusi - ui detail diskusi - ui list anggota diskusi - ui tutup diskusi - ui arsip diskusi No Issues
22 lines
698 B
TypeScript
22 lines
698 B
TypeScript
import Styles from "@/constants/Styles";
|
|
import { Feather } from "@expo/vector-icons";
|
|
import { Pressable, Text, View } from "react-native";
|
|
|
|
type Props = {
|
|
value: string
|
|
onPress?: () => void
|
|
round?: boolean
|
|
}
|
|
|
|
export default function ButtonSelect({ value, onPress, round }: Props) {
|
|
return (
|
|
<View style={[Styles.mv15]}>
|
|
<Pressable onPressOut={onPress}>
|
|
<View style={[Styles.inputRoundForm, Styles.inputRoundFormRight, round && Styles.round30, Styles.pv10]}>
|
|
<Feather name="arrow-right-circle" size={20} color="black" />
|
|
<Text style={[Styles.cBlack]}>{value}</Text>
|
|
</View>
|
|
</Pressable>
|
|
</View>
|
|
)
|
|
} |