@oslokommune/punkt-elements
Version:
Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo
21 lines (20 loc) • 589 B
TypeScript
/**
* timepicker.ts
*
* Type definitions for the timepicker component.
* Used by both Elements and React implementations.
*/
/**
* Translation strings for the timepicker component.
* Matches the shape of the `timepicker` key in no.json.
*/
export interface ITimepickerStrings {
hours: string;
minutes: string;
openPicker: string;
prevTime: string;
nextTime: string;
selectTime: string;
}
/** Default labels (Norwegian Bokmål), aligned with `packages/elements/src/translations/no.json`. */
export declare const defaultTimepickerStrings: ITimepickerStrings;