baseui
Version:
A React Component library implementing the Base design language
13 lines (12 loc) • 425 B
TypeScript
export type Option = {
id: string;
label: string;
disabled?: boolean;
};
type GetMonthItemsArgs = {
filterMonthsList: number[] | null;
formatMonthLabel: (a: number) => string;
};
export declare const filterMonthItems: (monthItems: Option[], filterList: number[]) => Option[];
export declare const getFilteredMonthItems: ({ filterMonthsList, formatMonthLabel, }: GetMonthItemsArgs) => Option[];
export {};