mirror of
https://github.com/apache/superset.git
synced 2026-04-09 19:35:21 +00:00
* bumping the js libs * New linting rules * More linting * More * Done linting * npm >=4.5.0 * Bumping node * Tweaking the build * Fixing the damn build * Fixing the apps
19 lines
382 B
JavaScript
19 lines
382 B
JavaScript
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"
|
|
/>);
|
|
}
|
|
}
|