react-raven
v1.2.3
Published
A simple React component for Sentry integration.
Downloads
154
Maintainers
Readme
react-raven
A simple React component for Sentry integration.
Installing
npm install --save react-raven
Usage
import React from 'react';
import Raven from 'react-raven';
fuction Application(props) {
return (
<div>
<Raven dsn="https://<key>@sentry.io/<project>" />
{'...your staff...'}
</div>
);
}
export default Application;
Properties
dsn
required The dsn url to the sentry instance (more information).
config
optional The optional sentry configuration (more information).