File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -67,25 +67,15 @@ export const Notification: FC<NotificationProps> = (props) => {
6767 < div className = { alertClassNames } role = 'alert' { ...pprops } >
6868 { alt ? < span className = 'slds-assistive-text' > { alt } </ span > : undefined }
6969 { onClose ? (
70- type === 'toast' ? (
70+ < div className = 'slds-notify__close' >
7171 < Button
72- className = 'slds-notification__close slds-button_icon-inverse'
73- type = 'icon-container'
72+ type = 'icon-inverse'
7473 icon = 'close'
74+ size = { type === 'toast' ? undefined : 'small' }
7575 alt = 'Close'
7676 onClick = { onClose }
7777 />
78- ) : (
79- < div className = 'slds-notify__close' >
80- < Button
81- type = 'icon-inverse'
82- icon = 'close'
83- size = 'small'
84- alt = 'Close'
85- onClick = { onClose }
86- />
87- </ div >
88- )
78+ </ div >
8979 ) : undefined }
9080 { iconEl }
9181 { type === 'toast' ? (
You can’t perform that action at this time.
0 commit comments