mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
Feature/date picker (#238)
- Date range picker for tournaments. - Resets date when closing picker - tRPC and Jotai update
This commit is contained in:
@@ -51,6 +51,7 @@ export type Tournament = {
|
||||
url: string;
|
||||
timeControl: TimeControl;
|
||||
date: string;
|
||||
isoDate: string;
|
||||
latLng: LatLngLiteral;
|
||||
norm: boolean;
|
||||
pending: boolean;
|
||||
@@ -78,6 +79,8 @@ export type ResponseMessage = {
|
||||
message: string;
|
||||
};
|
||||
|
||||
export type DatePickerDirection = "horizontal" | "vertical";
|
||||
|
||||
export type ScrollableElement = Window | HTMLElement;
|
||||
|
||||
// Prettify takes a type as its argument and returns a new type that has the same properties as the original type,
|
||||
|
||||
Reference in New Issue
Block a user