@navikt/ds-react
Version:
React components from the Norwegian Labour and Welfare Administration.
5 lines (4 loc) • 410 B
TypeScript
import type { TFunction } from "../../util/i18n/i18n.types";
import type { PeriodProps } from "../period/types";
export declare const getConditionalClasses: (cropped: string, direction: string, status: PeriodProps["status"]) => string;
export declare const ariaLabel: (startDate: Date, endDate: Date, status: PeriodProps["status"], statusLabel: string | undefined, translate: TFunction<"Timeline">) => string;