@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
16 lines (15 loc) • 345 B
TypeScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
export declare const useAddErrorCountToDocumentTitle: (
/** The list of error messages used to calculate the error count. */
errors: {
id: string;
label: string;
}[],
/** The text following the error count. */
label?: {
plural: string;
singular: string;
}) => null;