public static function create( $type, array $props )
    {
        try {
            $component = self::create_registered_component($type, $props);
        } catch (\RuntimeException $ex) {
            $component = self::create_core_component($type, $props);
        }
        
        return $component;
    }
public static function create( $type, array $props )
    {
        try {
            $component = self::create_registered_component($type, $props);
        } catch (\RuntimeException $ex) {
            $component = self::create_core_component($type, $props);
        }
        
        return $component;
    }
public static function create ( $ type , array $ props ) { try { $ component = self :: create_registered_component ( $ type , $ props ) ; } catch ( \ RuntimeException $ ex ) { $ component = self :: create_core_component ( $ type , $ props ) ; } return $ component ; }
Create a UI component instance.

@param string $type
@param array $props
@return AbstractComponent
Create a UI component instance .