2018-04-03 16:24:59 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { Answers } from 'react-native-fabric';
|
2018-08-31 16:46:33 +00:00
|
|
|
|
2018-07-10 13:40:32 +00:00
|
|
|
/** @extends React.Component */
|
2018-04-03 16:24:59 +00:00
|
|
|
export default class extends React.Component {
|
|
|
|
constructor(name, props) {
|
|
|
|
super(props);
|
|
|
|
Answers.logContentView(name);
|
|
|
|
}
|
2018-09-25 19:28:42 +00:00
|
|
|
|
2018-04-24 19:34:03 +00:00
|
|
|
componentDidCatch = (error, info) => {
|
|
|
|
Answers.logCustom(error, info);
|
|
|
|
}
|
2018-04-03 16:24:59 +00:00
|
|
|
}
|