ensl_gathers/app/javascripts/app.js

25 lines
600 B
JavaScript

const React = require("react");
const ReactDOM = require("react-dom");
const App = require("javascripts/components/main");
module.exports = function (mount) {
ReactDOM.render(<App />, mount);
};
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": false,
"progressBar": false,
"positionClass": "toast-top-center",
"preventDuplicates": false,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "5000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
}