/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/graphics/BackgroundImage.h
22 строки
598 B
Nick Lefever
Fix binary size regression for BackgroundImage (#54126)
14 окт 2025, 20:46
14 окт 2025, 20:46
93278d5
Код
Авторство
О чём код?
/* * 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/graphics/ColorComponents.h> #include <react/renderer/graphics/LinearGradient.h> #include <react/renderer/graphics/RadialGradient.h> namespace facebook::react { using BackgroundImage = std::variant<LinearGradient, RadialGradient>; #ifdef RN_SERIALIZABLE_STATE folly::dynamic toDynamic(const BackgroundImage& backgroundImage); #endif }; // namespace facebook::react