type alias FadeState

Held by useFading for each fading item, and mapped to a CSS class by fadeClassName. cooldown lasts 2 seconds, and dismissing lasts the 350ms of the CSS collapse.

Definition

"cooldown" | "dismissing"

Usage

import { type FadeState } from "src/hooks/feed/useFading.ts";