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

TypeDefault
Array of items of type: BannerEmpty Array

What’s Next