Skip to content

Commit aa825e2

Browse files
authored
Fix build on RN 0.89 (#1069)
1 parent e9c2f77 commit aa825e2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎ios/fabric/cpp/react/renderer/components/RNDateTimePicker/RNDateTimePickerState.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55

66
#pragma once
77

8+
#if __has_include(<React/Graphics.h>)
9+
#include <React/Graphics.h>
10+
#else
811
#include <react/renderer/graphics/Geometry.h>
12+
#endif
913

1014
namespace facebook {
1115
namespace react {

0 commit comments

Comments
 (0)