Use medium weight if summary is present
This commit is contained in:
parent
5fa8a21403
commit
2211c6ec67
1 changed files with 6 additions and 1 deletions
|
@ -120,7 +120,12 @@ const Toast = (props: IToast) => {
|
|||
{renderIcon()}
|
||||
</div>
|
||||
|
||||
<Text size='sm' data-testid='toast-message' className='pt-0.5'>
|
||||
<Text
|
||||
size='sm'
|
||||
data-testid='toast-message'
|
||||
className='pt-0.5'
|
||||
weight={typeof summary === 'undefined' ? 'normal' : 'medium'}
|
||||
>
|
||||
{renderText(message)}
|
||||
</Text>
|
||||
</HStack>
|
||||
|
|
Loading…
Reference in a new issue