timeline-calendar-react
Version:
A timeline calendar component for React, built with TypeScript and Vite.
6 lines (5 loc) • 473 B
TypeScript
import { Locale } from '../../types';
export declare const getInitials: (name: string) => string;
export declare const getRangeStyle: (startDate: number, endDate: number, widthChip: number, color: string | undefined, isAllMonth: boolean, isEndNextMonth: boolean) => import('react').CSSProperties;
export declare const getClassName: (isStartPrevMonth: boolean, isEndNextMonth: boolean) => string;
export declare const getDaysArray: (date: string, lang: Locale) => string[];