3#ifndef FTXUI_COMPONENT_ANIMATION_HPP
4#define FTXUI_COMPONENT_ANIMATION_HPP
13using Task = std::variant<Event, Closure, AnimationTask>;
#include "ftxui/component/component_base.hpp" // 用于 ComponentBase
std::variant< Event, Closure, AnimationTask > Task
std::function< void()> Closure