File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
templates/react-native/components/foo Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ class ListComponent extends Component {
39
39
onPressRightIcon = { ( ) => ListComponent . show ( item [ '@id' ] ) }
40
40
subtitle = {
41
41
< View >
42
+ < View style = { viewList } >
43
+ < Text style = { listRowLeft } > id</ Text >
44
+ < Text style = { [ listRowRight , { fontWeight : 'bold' } ] } > { item [ '@id' ] } </ Text >
45
+ </ View >
42
46
{ { #each fields} }
43
47
{ { #ifNotResource reference } }
44
48
< View style = { viewList } >
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ class Show extends Component {
99
99
{ item &&
100
100
< Card title = "{{{title}}}" >
101
101
< List title = "title" >
102
+ { Show . renderRow ( 'id' , item [ '@id' ] ) }
102
103
{ { #each fields} }
103
104
{ { #ifNotResource reference } }
104
105
{ Show . renderRow ( '{{{name}}}' , item [ '{{{name}}}' ] ) }
You can’t perform that action at this time.
0 commit comments