Commit 7cf95b08 authored by William Goszal's avatar William Goszal 🚴

tampilin notenya di list item di halaman menu & cart

parent 3cf7e94f
...@@ -173,6 +173,14 @@ class Item extends React.Component { ...@@ -173,6 +173,14 @@ class Item extends React.Component {
} }
</View> </View>
{
item.note != undefined && item.note != '' ? (
<View style={{ marginLeft: 5, marginRight: 5 }}>
<Text style={{ fontSize: 12, marginTop: 8, marginHorizontal:5, fontFamily: 'Gotham-Light', color: '#838383' }}>{item.note}</Text>
</View>
):( false )
}
</View> </View>
</View> </View>
)} )}
......
...@@ -149,6 +149,13 @@ class ItemShoping extends React.Component { ...@@ -149,6 +149,13 @@ class ItemShoping extends React.Component {
</TouchableOpacity> </TouchableOpacity>
</View> </View>
</View> </View>
{
item.note != undefined && item.note != '' ? (
<View style={{ marginLeft: 5, marginRight: 5 }}>
<Text style={{ fontSize: 12, marginTop: 8, marginHorizontal:5, fontFamily: 'Gotham-Light', color: '#838383' }}>{item.note}</Text>
</View>
):( false )
}
</View> </View>
</View> </View>
</View> </View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment