Use medium weight if summary is present

This commit is contained in:
Chewbacca 2023-04-04 14:06:54 -04:00
parent 5fa8a21403
commit 2211c6ec67

View file

@ -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>