UNPKG

@oslokommune/punkt-elements

Version:

Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo

25 lines (24 loc) 690 B
import { BaseTestConfig } from '../../tests/test-framework'; export interface CheckboxTestConfig extends BaseTestConfig { id?: string; name?: string; label?: string; checked?: boolean; disabled?: boolean; required?: boolean; value?: string; checkHelptext?: string; hasTile?: boolean; hasError?: boolean; errorMessage?: string; optionalTag?: boolean; requiredTag?: boolean; tagText?: string; labelPosition?: string; hideLabel?: boolean; isSwitch?: boolean; } export declare const createCheckboxTest: (config?: CheckboxTestConfig) => Promise<{ container: HTMLElement; checkbox: import('./checkbox').PktCheckbox; }>;