@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
12 lines (11 loc) • 462 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
import clsx from 'clsx';
import { forwardRef } from 'react';
export const TableOfContentsList = forwardRef(({ children, className, ...restProps }, ref) => {
return (_jsx("ul", { ...restProps, className: clsx('ams-table-of-contents__list', className), ref: ref, children: children }));
});
TableOfContentsList.displayName = 'TableOfContents.List';