upd: search page
Deskripsi: - update ui search page - update component ui borderbottom item - update style No Issues
This commit is contained in:
@@ -6,20 +6,23 @@ type Props = {
|
||||
subtitle?: string
|
||||
icon: React.ReactNode
|
||||
desc?: string
|
||||
rightTopInfo?: string
|
||||
onPress?: () => void
|
||||
}
|
||||
|
||||
export default function BorderBottomItem({ title, subtitle, icon, desc, onPress }: Props) {
|
||||
export default function BorderBottomItem({ title, subtitle, icon, desc, onPress, rightTopInfo }: Props) {
|
||||
return (
|
||||
<Pressable style={[Styles.wrapItemBorderBottom]} onPress={onPress}>
|
||||
<View style={[Styles.rowItemsCenter]}>
|
||||
{icon}
|
||||
<View style={[Styles.rowSpaceBetween]}>
|
||||
<View style={[Styles.rowSpaceBetween, { width: '85%' }]}>
|
||||
<View style={[Styles.ml10]}>
|
||||
<Text style={[Styles.textDefaultSemiBold]}>{title}</Text>
|
||||
<Text style={[Styles.textMediumNormal]}>{subtitle}</Text>
|
||||
</View>
|
||||
<Text style={[Styles.textInformation]}>3 Feb 2025</Text>
|
||||
{
|
||||
rightTopInfo && <Text style={[Styles.textInformation]}>{rightTopInfo}</Text>
|
||||
}
|
||||
</View>
|
||||
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user