UNPKG

@ipohjs/qwik-calendar

Version:

Stream-able and resumable calendar component, built with Qwik

16 lines (12 loc) 512 B
import type { JSX } from '@builder.io/qwik/jsx-runtime'; import type { CalendarWeekday } from '@ipohjs/calendar/dist/typings.js'; import type { BaseComponentProps } from '@ipohjs/types'; import type { DataCellProps } from '../data-cell/types'; export interface WeekLabelProps extends BaseComponentProps<'th'> { render$?(renderInit: WeekLabelPropsRenderInit): JSX.Element; weekLabel: CalendarWeekday; } export type WeekLabelPropsRenderInit = DataCellProps< 'th', WeekLabelProps['weekLabel'] >['init'];