public static VisualElement CreateInstance(string type, IComponentProps props, VisualElement rootContainer)
        {
            var component = ComponentMapper.CreateComponent(type);

            ComponentMapper.ApplyProps(type, component, props);

            return(component);
        }