ComponentFactory typedef
ComponentFactory =
DCFElement Function(Map<String, dynamic> props, List<DCFComponentNode> children)
This will be used to register component factories with the framework
Implementation
typedef ComponentFactory = DCFElement Function(Map<String, dynamic> props, List<DCFComponentNode> children);