mirror of
https://github.com/quantum5/qcal.git
synced 2025-08-02 11:58:12 -04:00
13 lines
286 B
TypeScript
13 lines
286 B
TypeScript
export type BaseDateProps = {
|
|
minJDN: number;
|
|
maxJDN: number;
|
|
initialJDN: number;
|
|
};
|
|
|
|
export type DateSelectorProps = BaseDateProps & {
|
|
onChange: (jdn: number | undefined) => void;
|
|
};
|
|
|
|
export type DateJumperProps = BaseDateProps & {
|
|
onJump: (jdn: number) => void;
|
|
}; |