MCPcopy
hub / github.com/microfeed/microfeed / showToast

Function showToast

client-src/common/ToastUtils.js:3–14  ·  view source on GitHub ↗
(message, type, autoClose = 800)

Source from the content-addressed store, hash-verified

1import {toast} from 'react-toastify';
2
3export function showToast(message, type, autoClose = 800) {
4 toast[type](message, {
5 position: "top-center",
6 autoClose,
7 hideProgressBar: false,
8 closeOnClick: true,
9 pauseOnHover: true,
10 draggable: true,
11 progress: undefined,
12 theme: "colored",
13 });
14}

Callers 10

onFileUploadMethod · 0.90
onFileUploadToR2Method · 0.90
onSubmitMethod · 0.90
renderMethod · 0.90
onSubmitMethod · 0.90
SetupPublicBucketUrlFunction · 0.90
onSubmitMethod · 0.90
onDeleteMethod · 0.90
onSubmitMethod · 0.90
onFileUploadMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected