mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 08:00:51 +01:00
changes
This commit is contained in:
parent
44a89f0262
commit
ce1b1c5568
@ -1,4 +1,4 @@
|
|||||||
export const getNumItemsDisplayed = (): number =>
|
export const getNumItemsDisplayed = (): number =>
|
||||||
{
|
{
|
||||||
return Math.min(Math.max(2, Math.floor(window.screen.width / 135)), 7);
|
return Math.min(Math.max(2, Math.floor(window.screen.width / 135) - 3), 7);
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
export interface CalendarViewProps
|
export interface CalendarViewProps
|
||||||
{
|
{
|
||||||
close(): void;
|
close(): void;
|
||||||
openPackage(id: number, asStaff: boolean);
|
openPackage(id: number, asStaff: boolean): void;
|
||||||
receivedProducts: Map<number, string>;
|
receivedProducts: Map<number, string>;
|
||||||
campaignName: string;
|
campaignName: string;
|
||||||
currentDay: number;
|
currentDay: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user