You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
711 B

#include "pch.h"
#include "ClipPathViewManager.h"
#include "ClipPathViewManager.g.cpp"
using namespace winrt;
using namespace Microsoft::ReactNative;
namespace winrt::RNSVG::implementation {
ClipPathViewManager::ClipPathViewManager() {
m_class = RNSVG::SVGClass::RNSVGClipPath;
m_name = L"RNSVGClipPath";
}
IMapView<hstring, ViewManagerPropertyType> ClipPathViewManager::NativeProps() {
auto const &parentProps{__super::NativeProps()};
auto const &nativeProps{winrt::single_threaded_map<hstring, ViewManagerPropertyType>()};
for (auto const &prop : parentProps) {
nativeProps.Insert(prop.Key(), prop.Value());
}
return nativeProps.GetView();
}
} // namespace winrt::RNSVG::implementation