svg parse to as component