Si creamos un componente propio en ionic e intentamos utilizar un componente «nativo» de ionic seguramente nos devuelve un error del tipo:
‘ion-icon’ is not a known element:
1. If ‘ion-icon’ is an Angular component, then verify that it is part of this module.
2. If ‘ion-icon’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message.ngtsc(-998001)
En mi caso pongo de ejemplo ion-icon.
La solución para por importar el IonicModule en el components.module.ts que anteriormente habremos creado.