@abbl/material-calendar
Version:
Calendar component build with React and Material-UI
24 lines (23 loc) • 578 B
TypeScript
import { ReactElement } from 'react';
interface DayHeaderProps {
/**
* Date to which header is bound to.
*/
highlightDate: Date;
/**
* Opens DayView by clicking on trigger in DayHeaderContent.
*
* @default false
*/
openChildView?: boolean;
/**
* Sets justifyContent to center.
*/
center?: boolean;
/**
* Offset from left margin that will be added to header content.
*/
headerContentLeftOffset?: number;
}
declare function DayHeader(props: DayHeaderProps): ReactElement;
export default DayHeader;