Ionic Text avatar is not a known element


#1

I’m trying to use the ion-text-avatar module in the conversationPage. I have declared and imported it in the app.module.ts file. I’m getting error as

ERROR Error: Uncaught (in promise): Error: Template parse errors:
'ion-text-avatar' is not a known element:
1. If 'ion-text-avatar' is an Angular component, then verify that it is part of this module.
2. If 'ion-text-avatar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
      <ion-avatar item-start ion-checkbox checked="true">

        [ERROR ->]<ion-text-avatar shape="round" class="avatar font">

          {{ job.companyTitle.charAt(0) }}
"): ng:///ConversationPageModule/ConversationPage.html@24:8

How can i solve this issue ?