@oslokommune/punkt-elements
Version:
Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo
29 lines (28 loc) • 856 B
TypeScript
import { BaseTestConfig } from '../../tests/test-framework';
export interface RadioButtonTestConfig extends BaseTestConfig {
value?: string;
checkHelptext?: string | null;
defaultChecked?: boolean;
hasTile?: boolean;
checked?: boolean | string | null;
type?: string;
tagText?: string | null;
optionalTag?: boolean;
optionalText?: string;
requiredTag?: boolean;
requiredText?: string;
id?: string;
name?: string;
label?: string;
disabled?: boolean;
readonly?: boolean;
required?: boolean;
hasError?: boolean;
inline?: boolean;
ariaDescribedBy?: string | null;
ariaLabelledby?: string | null;
}
export declare const createRadioButtonTest: (config?: RadioButtonTestConfig) => Promise<{
container: HTMLElement;
radiobutton: import('./radiobutton').PktRadioButton;
}>;