Configuring Property Capture
Last updated
Was this helpful?
Last updated
Was this helpful?
Freshpaint comes configured with an initial set of prop-capture configurations for commonly used components. If you would like to capture a non-default property, this can be achieved by adding a small piece of configuration code to the app.
Freshpaint will check for a freshpaintOptions
property that contains a set of properties to include or exclude. See below for the structure of the property:
The properties listed in the include
list will be included in the event. The properties in the exclude
list will be excluded from the event if they would have otherwise been included by either the include
list or as a .
Stateless, Functional Component Example:
Stateful Component Example: