/* * 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 #include namespace facebook::react { struct BackgroundPosition { std::optional top; std::optional left; std::optional right; std::optional bottom; BackgroundPosition() : top(ValueUnit{0.0f, UnitType::Point}), left(ValueUnit{0.0f, UnitType::Point}) {} bool operator==(const BackgroundPosition &other) const = default; bool operator!=(const BackgroundPosition &other) const = default; }; } // namespace facebook::react