summaryrefslogtreecommitdiff
path: root/docs/src/components/codes/ToastyContainer.jsx
blob: ee4e3bca21e3b352c65149ca32d145e7cbd9daa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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 = {};