upd: division
Deskripsi: - edit divisi - update status divisi NO Issues
This commit is contained in:
@@ -4,19 +4,24 @@ import { AntDesign } from "@expo/vector-icons";
|
||||
import { Text, View } from "react-native";
|
||||
|
||||
type Props = {
|
||||
text: string,
|
||||
text?: string,
|
||||
title?: string
|
||||
}
|
||||
|
||||
export default function SectionCancel({ text }: Props) {
|
||||
export default function SectionCancel({ text, title }: Props) {
|
||||
return (
|
||||
<View style={[ColorsStatus.lightRed, Styles.p10, Styles.round10, Styles.mb15]}>
|
||||
<View style={[Styles.rowItemsCenter]}>
|
||||
<AntDesign name="warning" size={22} style={[Styles.mr10]} />
|
||||
<Text style={[Styles.textDefaultSemiBold]}>Kegiatan Dibatalkan</Text>
|
||||
</View>
|
||||
<View>
|
||||
<Text style={[Styles.mt05]}>{text}</Text>
|
||||
<Text style={[Styles.textDefaultSemiBold]}>{title ? title : 'Kegiatan Dibatalkan'}</Text>
|
||||
</View>
|
||||
{
|
||||
text && (
|
||||
<View>
|
||||
<Text style={[Styles.mt05]}>{text}</Text>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
</View>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user