@microsoft/teams.api
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t
22 lines (19 loc) • 386 B
TypeScript
import { CardAction } from './card-action.js';
/**
* An image on a card
*/
type CardImage = {
/**
* URL thumbnail image for major content property
*/
url: string;
/**
* Image description intended for screen readers
*/
alt?: string;
/**
* Action assigned to specific Attachment
*/
tap?: CardAction;
};
export type { CardImage };