We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8339a6e commit f3dc13aCopy full SHA for f3dc13a
src/components/warning-callout/WarningCallout.tsx
@@ -7,7 +7,7 @@ const WarningCallout: React.FC<HTMLProps<HTMLDivElement>> = ({
7
children,
8
...rest
9
}) => (
10
- <div className={classNames('nhsuk-warning-callout')} {...rest}>
+ <div className={classNames('nhsuk-warning-callout', className)} {...rest}>
11
{label ? <h3 className="nhsuk-warning-callout__label">{label}</h3> : null}
12
{children}
13
</div>
0 commit comments