All files / javascripts/components AlertsWrapper.jsx

0% Statements 0/5
100% Branches 0/0
0% Functions 0/2
0% Lines 0/5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19                                     
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"
      />);
  }
}