upd: tampilan
Deskripsi: - update tampilan select anggota No Issues
This commit is contained in:
@@ -11,7 +11,7 @@ type Props = {
|
|||||||
|
|
||||||
export default function ImageWithLabel({ src, label, onClick }: Props) {
|
export default function ImageWithLabel({ src, label, onClick }: Props) {
|
||||||
return (
|
return (
|
||||||
<TouchableOpacity style={[Styles.contentItemCenter, Styles.mh05, { width: 70 }]} onPress={onClick}>
|
<TouchableOpacity style={[Styles.contentItemCenter, Styles.mh03, { width: 55 }]} onPress={onClick}>
|
||||||
<ImageUser src={src} border />
|
<ImageUser src={src} border />
|
||||||
<Text numberOfLines={1} ellipsizeMode="tail" style={[{ textAlign: 'center' }]}>{label}</Text>
|
<Text numberOfLines={1} ellipsizeMode="tail" style={[{ textAlign: 'center' }]}>{label}</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
|||||||
@@ -94,6 +94,9 @@ const Styles = StyleSheet.create({
|
|||||||
mv15: {
|
mv15: {
|
||||||
marginVertical: 15
|
marginVertical: 15
|
||||||
},
|
},
|
||||||
|
mh03: {
|
||||||
|
marginHorizontal: 3
|
||||||
|
},
|
||||||
mh05: {
|
mh05: {
|
||||||
marginHorizontal: 5
|
marginHorizontal: 5
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user