Split definition to separate statements (#55572)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55572

Changelog: [Internal]

Separates enum declaration and declaration of the field of that type.

Reviewed By: cortinico

Differential Revision: D93477888

fbshipit-source-id: 7e145c498e377be93cfb87230e68ca8f4663c87e
This commit is contained in:
Jakub Piasecki authored and meta-codesync[bot] committed 2026-02-25 05:15:59 -08:00
1 parent 5229e507e1
commit 34fb790bff
1 file changed
+2 -1
@@ -66,7 +66,8 @@ struct AccessibilityState {
bool selected{false};
bool busy{false};
std::optional<bool> expanded{std::nullopt};
enum CheckedState { Unchecked, Checked, Mixed, None } checked{None};
enum CheckedState { Unchecked, Checked, Mixed, None };
CheckedState checked{CheckedState::None};
};
constexpr bool operator==(const AccessibilityState &lhs, const AccessibilityState &rhs)