Skip to main content

Popups

Introduction

Provide ability to control all popups in app.

Setup

import {PopupsProvider, ThemeProvider} from '@lad-tech/mobydic-core';
import MainStack from '@pages/MainStack/ui';

export default () => {
return (
<ThemeProvider>
<PopupsProvider>
<MainStack />
</PopupsProvider>
</ThemeProvider>
);
};

API

usePopup

usePopups