mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 15:00:30 +03:00
added hour24Clock to TimeProps
This commit is contained in:
parent
0ba17f9cdb
commit
4588168a66
1 changed files with 1 additions and 0 deletions
|
|
@ -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>>(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue