LMLoaderContextProvider
Introduction
The LMLoaderContextProvider
provides the data and functions related to loader components and snackbar. You can use this to display on screen information in the app.
Property | Type | Description | Optional |
---|---|---|---|
loader | boolean | Indicates whether the loader is active. | |
setLoader | (val: boolean) => void \| null | Function to update the loader state. | ✔️ |
openSnackbar | (message: string) => void \| null | Function to show a snackbar message. | ✔️ |
Reference
For reference checkout this file