added hour24Clock to TimeProps

This commit is contained in:
Gimle Larpes 2025-05-30 16:00:38 +02:00
parent 0ba17f9cdb
commit 4588168a66

View file

@ -5,6 +5,7 @@ import { timeDayMonYear, timeHourMinute, today, yesterday } from '../../utils/ti
export type TimeProps = { export type TimeProps = {
compact?: boolean; compact?: boolean;
ts: number; ts: number;
hour24Clock: boolean;
}; };
export const Time = as<'span', TimeProps & ComponentProps<typeof Text>>( export const Time = as<'span', TimeProps & ComponentProps<typeof Text>>(