@utrecht/component-library-react
Version:
React component library bundle for the Municipality of Utrecht based on the NL Design System architecture
19 lines • 1.29 kB
TypeScript
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
import { LinkProps } from '@utrecht/link-react';
import { HTMLAttributes, LiHTMLAttributes, type PropsWithChildren } from 'react';
export type TableOfContentsProps = HTMLAttributes<HTMLElement>;
export declare const TableOfContents: ({ children, className, ...restProps }: PropsWithChildren<TableOfContentsProps>) => import("react/jsx-runtime").JSX.Element;
export type TableOfContentsListProps = HTMLAttributes<HTMLElement>;
export declare const TableOfContentsList: ({ children, className, ...restProps }: PropsWithChildren<TableOfContentsListProps>) => import("react/jsx-runtime").JSX.Element;
export type TableOfContentsListItemProps = LiHTMLAttributes<HTMLLIElement>;
export declare const TableOfContentsListItem: ({ children, className, ...restProps }: PropsWithChildren<TableOfContentsListItemProps>) => import("react/jsx-runtime").JSX.Element;
export interface TableOfContentsLinkProps extends LinkProps {
href: string;
label?: string;
}
export declare const TableOfContentsLink: ({ children, className, label, ...restProps }: PropsWithChildren<TableOfContentsLinkProps>) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=TableOfContents.d.ts.map