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 9d00410 commit 9030802Copy full SHA for 9030802
src/components/warning-callout/WarningCallout.tsx
@@ -12,7 +12,7 @@ const WarningCallout: React.FC<WarningCalloutProps> = ({
12
labelProps,
13
...rest
14
}) => {
15
- const { labelClassName: className, ...restLabelProps } = labelProps || {};
+ const { className: labelClassName, ...restLabelProps } = labelProps || {};
16
return (
17
<div className={classNames('nhsuk-warning-callout', className)} {...rest}>
18
{label ? (
@@ -26,6 +26,6 @@ const WarningCallout: React.FC<WarningCalloutProps> = ({
26
{children}
27
</div>
28
);
29
-}
+};
30
31
export default WarningCallout;
0 commit comments