Skip to content

Commit 5fda72f

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Inroduce BoxComponent
Summary: The goal of this diff is to introduce the scafolding of a BoxComponent. This class will be eventually shared by Android and iOS changelog: [internal] internal Reviewed By: sammy-SC Differential Revision: D41205801 fbshipit-source-id: e33e58062aa33e0c8e9a48fd112309a358f0a060
1 parent 9ca30ad commit 5fda72f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactAndroid/src/main/jni/react/cxxcomponents/ComponentManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ComponentManager {
2121
Tag tag,
2222
Props::Shared initialProps) = 0;
2323

24-
virtual std::shared_ptr<Component> createComponent(Tag tag) = 0;
24+
virtual std::unique_ptr<Component> createComponent(Tag tag) = 0;
2525

2626
virtual ~ComponentManager() = default;
2727
};

0 commit comments

Comments
 (0)