Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onPress={() =>
Heap.addEventProperties({ eventProp1: 'bar', eventProp2: 'foo' })
}
<button title="Add Event Properties"> Heap.addEventProperties({eventProp1: 'bar', eventProp2: 'foo'})}></button>
<button title="Remove eventProp1"> Heap.removeEventProperty('eventProp1')}></button>