useBanner
The purpose of useBanner
is to expose the banners state. Internally we are using atomic store for managing the banners state.
Example Usage:
const { banners } = useBanner();
Hook Return Value
banners
banners
Type | Default |
---|---|
Array of items of type: Banner | Empty Array |
Updated 12 months ago
What’s Next