Skip to content

Commit 4a051a0

Browse files
committed
Revert " * alert: enhance content handling by adding className to CustomContent component."
This reverts commit b17a06c.
1 parent 14e3e86 commit 4a051a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/alert/src/component/alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function Alert({
3232
return (
3333
<div className={classes('alert', className)} style={style} {...others}>
3434
<Icon icon={icon} className={classes('alert-icon', iconClass)} />
35-
{typeof content !== 'string' ? <CustomContent className={classes('alert-content', contentClass)} content={content} /> : (
35+
{typeof content !== 'string' ? <CustomContent content={content} /> : (
3636
<div className={classes('alert-content', contentClass)}>
3737
{typeof heading !== 'string' ? <CustomContent content={heading} /> : (heading && <div className="alert-heading">{heading}</div>)}
3838
<div className="alert-text">{content}</div>

0 commit comments

Comments
 (0)