@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
18 lines (17 loc) • 647 B
TypeScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
import type { HTMLAttributes } from 'react';
export type CharacterCountProps = HTMLAttributes<HTMLDivElement> & {
/** The current length of the field’s value. */
length: number;
/** The maximum length of the field’s value. */
maxLength: number;
};
export declare const CharacterCount: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
/** The current length of the field’s value. */
length: number;
/** The maximum length of the field’s value. */
maxLength: number;
} & import("react").RefAttributes<HTMLDivElement>>;