UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

18 lines (17 loc) 679 B
import { jsx as _jsx } from "react/jsx-runtime"; /** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import clsx from 'clsx'; import { forwardRef } from 'react'; import { FooterMenu } from './FooterMenu'; import { FooterMenuLink } from './FooterMenuLink'; import { FooterSpotlight } from './FooterSpotlight'; const FooterRoot = forwardRef(({ children, className, ...restProps }, ref) => (_jsx("footer", { ...restProps, className: clsx('ams-footer', className), ref: ref, children: children }))); FooterRoot.displayName = 'Footer'; export const Footer = Object.assign(FooterRoot, { Menu: FooterMenu, MenuLink: FooterMenuLink, Spotlight: FooterSpotlight, });