Skip to content

Commit

Permalink
Inroduce BoxComponent
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mdvacca authored and facebook-github-bot committed Nov 15, 2022
1 parent 9ca30ad commit 5fda72f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ComponentManager {
Tag tag,
Props::Shared initialProps) = 0;

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

virtual ~ComponentManager() = default;
};
Expand Down

0 comments on commit 5fda72f

Please sign in to comment.