30 lines
648 B
C++
30 lines
648 B
C++
/*
|
|
* 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
|
|
|
|
namespace facebook::react {
|
|
|
|
enum class BackgroundRepeatStyle {
|
|
Repeat,
|
|
Space,
|
|
Round,
|
|
NoRepeat,
|
|
};
|
|
|
|
struct BackgroundRepeat {
|
|
BackgroundRepeatStyle x{BackgroundRepeatStyle::Repeat};
|
|
BackgroundRepeatStyle y{BackgroundRepeatStyle::Repeat};
|
|
|
|
BackgroundRepeat() {}
|
|
|
|
bool operator==(const BackgroundRepeat &other) const = default;
|
|
bool operator!=(const BackgroundRepeat &other) const = default;
|
|
};
|
|
|
|
} // namespace facebook::react
|