Use medium weight if summary is present
This commit is contained in:
parent
5fa8a21403
commit
2211c6ec67
|
@ -120,7 +120,12 @@ const Toast = (props: IToast) => {
|
||||||
{renderIcon()}
|
{renderIcon()}
|
||||||
</div>
|
</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)}
|
{renderText(message)}
|
||||||
</Text>
|
</Text>
|
||||||
</HStack>
|
</HStack>
|
||||||
|
|
Loading…
Reference in New Issue