/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/uimanager/UIManagerAnimationBackend.h
24 строки
622 B
Zeya Peng
create UIManagerAnimationBackend to replace forward declare `class AnimationBackend` (#54058)
08 окт 2025, 22:51
08 окт 2025, 22:51
197783b
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/renderer/components/view/BaseViewProps.h> #include <react/renderer/core/ShadowNodeFamily.h> namespace facebook::react { class UIManagerAnimationBackend { public: virtual ~UIManagerAnimationBackend() = default; virtual void onAnimationFrame(double timestamp) = 0; // TODO: T240293839 Move over start() function and mutation types virtual void stop() = 0; }; } // namespace facebook::react