+ {t('journey_press')} Enter +
+{hint}
+ > + ) +} + +function FyMonthStep({ + t, + monthShort, + monthLong, + onUse, +}: { + t: TFn + monthShort: string[] + monthLong: string[] + onUse: (endMonth: number) => void +}) { + const [sel, setSel] = useState(0) + const [hover, setHover] = useState(0) + const m = hover || sel + const year0 = new Date().getFullYear() + const span: [number, number] | null = m ? (m === 12 ? [0, 11] : [m, m + 11]) : null + const label = m + ? m === 12 + ? `1 ${monthLong[0]} – 31 ${monthLong[11]}` + : `1 ${monthLong[m % 12]} – ${monthLong[m - 1]}` + : '' + return ( +