@up-group/react-controls
Version:
We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get
41 lines (40 loc) • 1.13 kB
TypeScript
/// <reference types="react" />
import * as React from "react";
export interface UpCalendarWeekDayProps {
}
export interface UpCalendarWeekDayState {
selectedDate: Date;
}
export default class UpCalendarWeekDay extends React.Component<UpCalendarWeekDayProps, UpCalendarWeekDayState> {
static defaultProps: UpCalendarWeekDayProps;
constructor(p: any, c: any);
render(): JSX.Element;
makeEvent: () => any[];
getCurrentWeek: () => Date[];
onDayClick: (date: Date) => void;
}
export interface CalendarDayProps {
day: Date;
selectedDate: Date;
onClick: (date: Date) => void;
}
export interface DayDetailProps {
date: Date;
event: {
start: Date;
end: Date;
title: string;
}[];
}
export interface DayDetailState {
}
export declare class DayDetail extends React.Component<DayDetailProps, DayDetailState> {
constructor(p: any, c: any);
render(): JSX.Element;
getHourString: (date: Date) => string;
getEventIn: (inside: Date) => {
start: Date;
end: Date;
title: string;
}[];
}