Skip to content

A simple React component for Sentry integration.

License

Notifications You must be signed in to change notification settings

breacons/react-raven

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

A simple React component for Sentry integration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%