Files
klz-cables.com/.pnpm-store/v10/files/cf/d510901f55ae98961c2f3da68e2c47741dfd7b772ceefe12994c338701749ee17be6acd72c6debaddb19176395c9da7a1d39395daf429adaeba666b189d6c7
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

27 lines
1.1 KiB
Plaintext

import React, { Component } from "react";
import { type Locale } from "./date_utils";
import MonthDropdownOptions from "./month_dropdown_options";
interface MonthDropdownOptionsProps extends React.ComponentPropsWithoutRef<typeof MonthDropdownOptions> {
}
interface MonthDropdownProps extends Omit<MonthDropdownOptionsProps, "monthNames" | "onChange" | "onCancel"> {
dropdownMode: "scroll" | "select";
locale?: Locale;
onChange: (month: number) => void;
useShortMonthInDropdown?: boolean;
}
interface MonthDropdownState {
dropdownVisible: boolean;
}
export default class MonthDropdown extends Component<MonthDropdownProps, MonthDropdownState> {
state: MonthDropdownState;
renderSelectOptions: (monthNames: string[]) => React.ReactElement[];
renderSelectMode: (monthNames: string[]) => React.ReactElement;
renderReadView: (visible: boolean, monthNames: string[]) => React.ReactElement;
renderDropdown: (monthNames: string[]) => React.ReactElement;
renderScrollMode: (monthNames: string[]) => React.ReactElement[];
onChange: (month: number) => void;
toggleDropdown: () => void;
render(): React.ReactElement;
}
export {};