Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import type { TimePickerAmPmLabels, TimePickerFormat } from '../TimePicker';
export interface TimeValueProps {
/** Time to format */
value: string | Date;
/** Time format @default `'24h'` */
format?: TimePickerFormat;
/** AM/PM labels @default `{ am: 'AM', pm: 'PM' }` */
amPmLabels?: TimePickerAmPmLabels;
/** Determines whether seconds should be displayed @default `false` */
withSeconds?: boolean;
}
export declare function TimeValue({ value, format, amPmLabels, withSeconds, }: TimeValueProps): import("react/jsx-runtime").JSX.Element;
export declare namespace TimeValue {
var displayName: string;
}

View File

@@ -0,0 +1,8 @@
import type { TimePickerAmPmLabels, TimePickerFormat } from '../../TimePicker';
export interface GetFormattedTimeInput {
value: string | Date;
format: TimePickerFormat;
amPmLabels: TimePickerAmPmLabels;
withSeconds: boolean;
}
export declare function getFormattedTime({ value, format, amPmLabels, withSeconds, }: GetFormattedTimeInput): string | null;

View File

@@ -0,0 +1,2 @@
export { TimeValue } from './TimeValue';
export type { TimeValueProps } from './TimeValue';