@oslokommune/punkt-elements
Version:
Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo
23 lines (22 loc) • 636 B
TypeScript
import { BaseTestConfig } from '../../tests/test-framework';
export interface TimepickerTestConfig extends BaseTestConfig {
value?: string;
min?: string;
max?: string;
step?: number;
disabled?: boolean;
required?: boolean;
label?: string;
'hide-picker'?: boolean;
'step-arrows'?: boolean;
fullwidth?: boolean;
hasError?: boolean;
errorMessage?: string;
helptext?: string;
id?: string;
name?: string;
}
export declare const createTimepickerTest: (config?: TimepickerTestConfig) => Promise<{
container: HTMLElement;
timepicker: import('./timepicker').PktTimepicker;
}>;