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
bannerAutoHideTimeout
Type | Default |
---|---|
Number (Required) | 4000 (ms) |
Updated about 1 year ago
What’s Next