Skip to content

Commit f3dc13a

Browse files
committed
Add className to WarningCallout
1 parent 8339a6e commit f3dc13a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/warning-callout/WarningCallout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const WarningCallout: React.FC<HTMLProps<HTMLDivElement>> = ({
77
children,
88
...rest
99
}) => (
10-
<div className={classNames('nhsuk-warning-callout')} {...rest}>
10+
<div className={classNames('nhsuk-warning-callout', className)} {...rest}>
1111
{label ? <h3 className="nhsuk-warning-callout__label">{label}</h3> : null}
1212
{children}
1313
</div>

0 commit comments

Comments
 (0)