Fix a propType error with icons

This commit is contained in:
Lucas Verney 2018-11-30 12:53:43 +01:00
parent 49e1d70891
commit e824404b69
1 changed files with 6 additions and 6 deletions

View File

@ -16,42 +16,42 @@ export default {
accident: { accident: {
description: 'reportLabels.accidentDescription', description: 'reportLabels.accidentDescription',
label: 'reportLabels.accident', label: 'reportLabels.accident',
image: accidentIcon, image: accidentIcon.toString(),
marker: accidentMarker, marker: accidentMarker,
markerLarge: accidentMarker, markerLarge: accidentMarker,
}, },
gcum: { gcum: {
description: 'reportLabels.gcumDescription', description: 'reportLabels.gcumDescription',
label: 'reportLabels.gcum', label: 'reportLabels.gcum',
image: gcumIcon, image: gcumIcon.toString(),
marker: gcumMarker, marker: gcumMarker,
markerLarge: gcumMarker, markerLarge: gcumMarker,
}, },
interrupt: { interrupt: {
description: 'reportLabels.interruptDescription', description: 'reportLabels.interruptDescription',
label: 'reportLabels.interrupt', label: 'reportLabels.interrupt',
image: interruptIcon, image: interruptIcon.toString(),
marker: interruptMarker, marker: interruptMarker,
markerLarge: interruptMarker, markerLarge: interruptMarker,
}, },
misc: { misc: {
description: 'reportLabels.miscDescription', description: 'reportLabels.miscDescription',
label: 'reportLabels.misc', label: 'reportLabels.misc',
image: miscIcon, image: miscIcon.toString(),
marker: miscMarker, marker: miscMarker,
markerLarge: miscMarker, markerLarge: miscMarker,
}, },
obstacle: { obstacle: {
description: 'reportLabels.obstacleDescription', description: 'reportLabels.obstacleDescription',
label: 'reportLabels.obstacle', label: 'reportLabels.obstacle',
image: obstacleIcon, image: obstacleIcon.toString(),
marker: obstacleMarker, marker: obstacleMarker,
markerLarge: obstacleMarker, markerLarge: obstacleMarker,
}, },
pothole: { pothole: {
description: 'reportLabels.potholeDescription', description: 'reportLabels.potholeDescription',
label: 'reportLabels.pothole', label: 'reportLabels.pothole',
image: potholeIcon, image: potholeIcon.toString(),
marker: potholeMarker, marker: potholeMarker,
markerLarge: potholeMarker, markerLarge: potholeMarker,
}, },