phx-react
Version:
PHX REACT
18 lines (17 loc) • 629 B
TypeScript
import React from 'react';
export type PHXDateTimelineItem = {
title: string;
date: string;
time: Date;
};
export type PHXDateTimelineProps = {
timeline?: Array<PHXDateTimelineItem>;
daysOfWeek?: Array<string>;
windowSize?: number;
onChangeTime?(date: Date): void;
hideTodayButton?: boolean;
showRightArrowButton?: boolean;
selectedDate?: PHXDateTimelineItem['date'];
};
declare const PHXTabDate: ({ daysOfWeek, hideTodayButton, onChangeTime, timeline: timelineProp, windowSize, showRightArrowButton, selectedDate, }: PHXDateTimelineProps) => React.JSX.Element;
export default PHXTabDate;