UNPKG

@masaischool/lotus

Version:

Masai UI component library designed to work seamlessly with Chakra UI

15 lines (14 loc) 503 B
/** * Generate DropDownItems list of last n years from the offset m years * total length is n */ import { ReactElement } from 'react'; declare type Options = { text: string; icon?: ReactElement | undefined; }[]; export declare const createDropdownYears: (len: number, offset: number) => Options; /** Generate DropDownItems list of last x years from the offset year */ export declare const twelfthPassYears: Options; export declare const graduationPassYears: Options; export {};