Skip to main content

Use the Offline Banner feature

Just import 'setOfflineBanner' like so,

import { setOfflineBanner } from "@equinor/mad-core";

And then call it as shown below -

    setOfflineBanner(true);

Note: Try adding the above code in your App.tsx file for best results!

That's it! The offline banner feature should now be working!