refactor: improvements made to how banners are to be dismissed (#3656)

This commit is contained in:
Joel Jacob Stephen
2023-12-15 17:08:57 +05:30
committed by GitHub
parent 93082c3816
commit cf8b5975ac
4 changed files with 6 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ export type BannerContent = {
alternateText?: (t: ReturnType<typeof getI18n>) => string
// Used to determine which banner should be displayed when multiple banners are present
score: number
dismissible?: boolean
}
export type Banner = {