UNPKG

@oslokommune/punkt-elements

Version:

Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo

28 lines (27 loc) 801 B
import { BaseTestConfig } from '../../tests/test-framework'; export interface TextareaTestConfig extends BaseTestConfig { value?: string; autocomplete?: string; rows?: number | null; id?: string; label?: string; name?: string; disabled?: boolean; readonly?: boolean; required?: boolean; placeholder?: string | null; maxlength?: number | null; minlength?: number | null; hasError?: boolean; errorMessage?: string; helptext?: string; fullwidth?: boolean; counter?: boolean; inline?: boolean; ariaLabelledby?: string | null; ariaDescribedBy?: string | null; } export declare const createTextareaTest: (config?: TextareaTestConfig) => Promise<{ container: HTMLElement; textarea: import('./textarea').PktTextarea; }>;