You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
452 B
23 lines
452 B
4 years ago
|
/*
|
||
|
* Copyright (c) 2020 The ZMK Contributors
|
||
|
*
|
||
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||
|
*/
|
||
|
|
||
|
import React from "react";
|
||
|
import { ToastContainer } from "react-toastify";
|
||
|
import "react-toastify/dist/ReactToastify.css";
|
||
|
|
||
|
export default function ToastyContainer() {
|
||
|
return (
|
||
|
<ToastContainer
|
||
|
position="bottom-right"
|
||
|
autoClose={2000}
|
||
|
hideProgressBar={true}
|
||
|
newestOnTop={true}
|
||
|
/>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
ToastyContainer.propTypes = {};
|