Skip to content

Commit

Permalink
stocky hours
Browse files Browse the repository at this point in the history
  • Loading branch information
dorkyboi committed Jan 17, 2023
1 parent 2448ca8 commit c5a4b0f
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion lib/Timetable.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="react" />
import { TimetableProps } from "./types";
declare function Timetable<I>({ items, renderItem, date, range: rangeProp, fromHour, toHour, style, width, timeWidth, itemMinHeightInMinutes, hourHeight, linesTopOffset, linesLeftInset, columnHorizontalPadding, renderHeader, renderHour, startProperty, endProperty, ...props }: TimetableProps<I>): JSX.Element;
declare function Timetable<I>({ items, renderItem, date, range: rangeProp, fromHour, toHour, style, width, timeWidth, itemMinHeightInMinutes, hourHeight, linesTopOffset, linesLeftInset, columnHorizontalPadding, stickyHours, renderHeader, renderHour, startProperty, endProperty, ...props }: TimetableProps<I>): JSX.Element;
export default Timetable;
//# sourceMappingURL=Timetable.d.ts.map
2 changes: 1 addition & 1 deletion lib/Timetable.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/Timetable.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Timetable.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lib/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface NowLineProps {
calculateTopOffset: (date: number) => number;
}
export interface HoursProps {
offsetX: Animated.Value;
offsetX?: Animated.Value;
columnDays: Day[];
columnWidth: number;
linesTopOffset: number;
Expand Down Expand Up @@ -86,6 +86,7 @@ export type TimetableProps<I = any> = Values & {
linesTopOffset?: number;
linesLeftInset?: number;
columnHorizontalPadding?: number;
stickyHours?: boolean;
hideNowLine?: boolean;
enableSnapping?: boolean;
scrollViewProps?: ScrollViewProps;
Expand Down
Loading

0 comments on commit c5a4b0f

Please sign in to comment.