UNPKG

@amsterdam/design-system-react

Version:

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

21 lines (20 loc) 801 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes } from 'react'; export type CharacterCountProps = { /** The current length of the field’s value. */ length: number; /** The maximum length of the field’s value. */ maxLength: number; } & HTMLAttributes<HTMLDivElement>; /** * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-character-count--docs Character Count docs at Amsterdam Design System} */ export declare const CharacterCount: import("react").ForwardRefExoticComponent<{ /** The current length of the field’s value. */ length: number; /** The maximum length of the field’s value. */ maxLength: number; } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;