@fchh/fcos-suite-ui
Version:
Reusable UI components based on React and TailwindCSS for the Fab City OS Suite (initially funded by the Interfacer EU project).
19 lines (18 loc) • 684 B
TypeScript
import { PropsWithChildren } from 'react';
export interface TableOfContentsProps {
ctaOnClick?: () => unknown;
ctaCaption?: string;
}
export declare function TableOfContents({ children, ctaOnClick, ctaCaption, }: PropsWithChildren<TableOfContentsProps>): import("react/jsx-runtime").JSX.Element;
export interface TocItemProps {
label: string;
onClick: () => void;
isActive: boolean;
className?: string;
target: string;
}
export declare function TocItem({ label, target, onClick, isActive, className, }: TocItemProps): import("react/jsx-runtime").JSX.Element;
export declare const Headline: React.FC<{
target: string;
children: React.ReactNode;
}>;