diff --git a/src/core/components/notifications/index.jsx b/src/core/components/notifications/index.jsx index b1f4b29..9e8e52b 100644 --- a/src/core/components/notifications/index.jsx +++ b/src/core/components/notifications/index.jsx @@ -44,3 +44,13 @@ const Notifications = async (directionApp, t, response) => { }; export default Notifications; + +/* +usage document + +** for pending use ( Notifications(directionApp, t, undefined) ) this before your request. +** for success use ( Notifications(directionApp, t, response) ) this inside .then() of your request. +** for Error and Warning use ( Notifications(directionApp, t, error.response) ) this inside .catche() of your request. + +end usage document +*/