@microsoft/teams.cards
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.cards" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.cards" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.cards?activeTab=code" ta
10 lines (8 loc) • 533 B
TypeScript
/**
* Controls for which card width the element should be displayed.
* If targetWidth isn't specified, the element is rendered at all card widths.
* Using targetWidth makes it possible to author responsive cards that adapt
* their layout to the available horizontal space.
*/
type TargetWidth = 'VeryNarrow' | 'Narrow' | 'Standard' | 'Wide' | 'atLeast:VeryNarrow' | 'atMost:VeryNarrow' | 'atLeast:Narrow' | 'atMost:Narrow' | 'atLeast:Standard' | 'atMost:Standard' | 'atLeast:Wide' | 'atMost:Wide';
export type { TargetWidth };