@cn-ui/core
Version:
The @cn-ui/core is a collection of UI components and utilities for building modern web applications with SolidJS.
11 lines (10 loc) • 563 B
TypeScript
import { type CalendarProps } from "../Calendar";
/**
* Sorts an array of items into groups. The return value is a map where the keys are
* the group ids the given getGroupId function produced and the value is an array of
* each item in that group.
*/
export declare const group: <T, Key extends string | number | symbol>(array: readonly T[], getGroupId: (item: T, index: number) => Key, originSource?: {}) => Partial<Record<Key, T[]>>;
export declare const DateCalendarPanel: (props: {
Cell?: CalendarProps["Cell"];
}) => import("solid-js").JSX.Element;