All files / javascripts/components AlertsWrapper.jsx

40% Statements 2/5
100% Branches 0/0
0% Functions 0/2
40% Lines 2/5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 191x 1x                                  
import React from 'react';
import AlertContainer from 'react-alert';
 
export default class AlertsWrapper extends React.PureComponent {
  render() {
    return (
      <AlertContainer
        ref={ref => {
          global.notify = ref;
        }}
        offset={14}
        position="top right"
        theme="dark"
        time={5000}
        transition="fade"
      />);
  }
}