useAutoHideBannerEffect
The purpose of useAutoHideBannerEffect is to autohide top most displayed banner item after a given time out value (in ms).
Example Usage:
const { banners } = useBanner();
useAutoHideBannerEffect({ bannerAutoHideTimeout: 4000 });Hook Argument
bannerAutoHideTimeout
bannerAutoHideTimeoutType | Default |
|---|---|
Number (Required) | 4000 (ms) |
Updated 2 months ago
What’s Next
