Files
stroy-bot-monorepo/src/webparts/stroyBot/pages/weather/WeatherHint.tsx
T
Тимур Городецкий d606f8371c feat: weather conditions check from stroy-bot-main
Ports the weather check added to stroy-bot-main on 2026-10-16: daily
station weather, report positions with weather per shift and the AI
assessment of working conditions. Opens as ?page=weather&start=&end=
instead of the #weathercheck hash, and hub dates survive the way back.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 09:47:02 +05:00

15 lines
420 B
TypeScript

import * as React from 'react';
import { Icon } from '@tnsu/ui-kit';
import styles from './WeatherPage.module.scss';
interface Props {
text: string;
}
/** Подсказка, почему сверку не загрузить (нет проекта / периода). */
export const WeatherHint: React.FC<Props> = ({ text }) => (
<div className={styles.hint}>
<Icon name="info" size="sm" /> {text}
</div>
);