mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-08-25 00:47:27 +00:00
* link open in a new tab * fixed double toast * added const * javiers new icon * epbg img fix * pkg update * changed import * formated Co-authored-by: Leon <>
26 lines
721 B
TypeScript
26 lines
721 B
TypeScript
import ReactDOM from 'react-dom';
|
|
import './index.sass';
|
|
import {ToastContainer} from "react-toastify";
|
|
import 'react-toastify/dist/ReactToastify.min.css';
|
|
import {RecoilRoot} from "recoil";
|
|
import App from './App';
|
|
import { TOAST_CONTAINER_ID } from './consts';
|
|
|
|
ReactDOM.render( <>
|
|
<RecoilRoot>
|
|
<App/>
|
|
<ToastContainer enableMultiContainer containerId={TOAST_CONTAINER_ID}
|
|
position="bottom-right"
|
|
autoClose={5000}
|
|
hideProgressBar={false}
|
|
newestOnTop={false}
|
|
closeOnClick
|
|
rtl={false}
|
|
pauseOnFocusLoss
|
|
draggable
|
|
pauseOnHover
|
|
/>
|
|
</RecoilRoot>
|
|
</>,
|
|
document.getElementById('root'));
|