Skip to content

Commit

Permalink
Restore classes
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Nov 25, 2023
1 parent 942a560 commit a24c192
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/react/src/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2023 Gemeente Amsterdam
*/

import clsx from 'clsx'
import {
ForwardedRef,
forwardRef,
Expand All @@ -18,7 +19,7 @@ export const FooterTop = forwardRef(
{ children, className, ...restProps }: PropsWithChildren<HTMLAttributes<HTMLDivElement>>,
ref: ForwardedRef<HTMLDivElement>,
) => (
<Highlight {...restProps} color="blue" ref={ref} className={className}>
<Highlight {...restProps} color="blue" ref={ref} className={clsx('amsterdam-footer__top', className)}>
{children}
</Highlight>
),
Expand All @@ -31,7 +32,7 @@ export const FooterBottom = forwardRef(
{ children, className, ...restProps }: PropsWithChildren<HTMLAttributes<HTMLDivElement>>,
ref: ForwardedRef<HTMLDivElement>,
) => (
<div {...restProps} ref={ref} className={className}>
<div {...restProps} ref={ref} className={clsx('amsterdam-footer__bottom', className)}>
{children}
</div>
),
Expand All @@ -50,7 +51,7 @@ export const Footer = forwardRef(
{ children, className, ...restProps }: PropsWithChildren<HTMLAttributes<HTMLElement>>,
ref: ForwardedRef<HTMLElement>,
) => (
<footer {...restProps} ref={ref} className={className}>
<footer {...restProps} ref={ref} className={clsx('amsterdam-footer', className)}>
{children}
</footer>
),
Expand Down

0 comments on commit a24c192

Please sign in to comment.