mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
Update notification bubbles
This commit is contained in:
parent
c9d76ecf6e
commit
6da92ac8c3
@ -10,7 +10,7 @@ export const NotificationClubGiftBubbleView: FC<NotificationBubbleLayoutViewProp
|
|||||||
const { item = null, close = null, ...rest } = props;
|
const { item = null, close = null, ...rest } = props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NotificationBubbleView className="flex-column club-gift" close={ close } { ...rest }>
|
<NotificationBubbleView fadesOut={ false } className="flex-column club-gift" close={ close } { ...rest }>
|
||||||
<div className="d-flex align-items-center gap-2 mb-2">
|
<div className="d-flex align-items-center gap-2 mb-2">
|
||||||
<CurrencyIcon type="hc" className="flex-shrink-0" />
|
<CurrencyIcon type="hc" className="flex-shrink-0" />
|
||||||
<span className="ms-1">{ LocalizeText('notifications.text.club_gift') }</span>
|
<span className="ms-1">{ LocalizeText('notifications.text.club_gift') }</span>
|
||||||
|
@ -7,7 +7,7 @@ export const NotificationDefaultBubbleView: FC<NotificationDefaultBubbleViewProp
|
|||||||
const { item = null, close = null, ...rest } = props;
|
const { item = null, close = null, ...rest } = props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NotificationBubbleView className="d-flex" fadesOut={ false } close={ close } { ...rest }>
|
<NotificationBubbleView className="d-flex" close={ close } { ...rest }>
|
||||||
{ (item.iconUrl && item.iconUrl.length) && <img className="bubble-image no-select" src={ item.iconUrl } alt="" /> }
|
{ (item.iconUrl && item.iconUrl.length) && <img className="bubble-image no-select" src={ item.iconUrl } alt="" /> }
|
||||||
<span>{ item.message }</span>
|
<span>{ item.message }</span>
|
||||||
</NotificationBubbleView>
|
</NotificationBubbleView>
|
||||||
|
Loading…
Reference in New Issue
Block a user