bcche-ui-react
Version:
A component library that can achieve magic effects
18 lines (17 loc) • 445 B
TypeScript
import React from 'react';
import type { ComponentProps } from '@/types';
import './index.less';
declare enum WeatherType {
sunny = "sunny",
cloudy = "cloudy",
rainy = "rainy",
snowy = "snowy",
nighty = "nighty"
}
interface WeatherProps extends ComponentProps {
type: WeatherType;
duration?: number;
iconDuration?: number;
}
declare const Weather: React.FC<WeatherProps>;
export default Weather;