I am trying to build Image Adaptive Card for the first time, I thought "Description" Property can be added how it can added in the normal web part SPFx. I was wondering how to add "Description" to "ICardParameters"
CardView.ts
public get data(): IImageCardParameters {
return {
primaryText: strings.PrimaryText,
imageUrl: require('../assets/MicrosoftLogo.png'),
title: this.properties.title,
description: this.properties.description --- Type '{ primaryText: string; imageUrl: string; title: string; description: string; }' is not assignable to type 'ICardParameters'. Object literal may only specify known properties, and 'description' does not exist in type 'ICardParameters'.
};
}
PropertyPane.ts
PropertyPaneTextField('description',{
label: strings.Description,
multiline: true,
rows: 5
})