MCPcopy Create free account
hub / github.com/flatlogic/react-material-admin / sendNotification

Function sendNotification

src/pages/user/AddUser.js:173–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 };
172
173 function sendNotification() {
174 const componentProps = {
175 type: "feedback",
176 message: "User added!",
177 variant: "contained",
178 color: "success"
179 };
180 const options = {
181 type: "info",
182 position: toast.POSITION.TOP_RIGHT,
183 progressClassName: classes.progress,
184 className: classes.notification,
185 timeOut: 1000
186 };
187 return toast(
188 <Notification
189 {...componentProps}
190 className={classes.notificationComponent} />,
191
192 options
193 );
194 }
195 return (
196 <Grid container spacing={3}>
197 <Grid size={12}>

Callers 1

handleNextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected