UNPKG

react-atmospheres

Version:

A lightweight wrapper to add seasonal, themed visual effects in your React app.

14 lines (13 loc) 337 B
import { ReactNode } from 'react'; export type AtmosphereType = 'snow' | 'hearts' | 'spooky' | 'none'; interface Props { children: ReactNode; animation?: AtmosphereType; disabled?: boolean; } export declare const Atmospheres: ({ children, animation, disabled, }: Props) => import('react/jsx-runtime').JSX.Element; export {};