public static VisualElement CreateInstance(string type, IComponentProps props, VisualElement rootContainer) { var component = ComponentMapper.CreateComponent(type); ComponentMapper.ApplyProps(type, component, props); return(component); }
public static bool CommitUpdate( VisualElement instance, IComponentProps updatePayload, string type, IComponentProps oldProps, IComponentProps newProps) { ComponentMapper.ApplyProps(type, instance, updatePayload); return(true); }