Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp adaptive card extension base.baseprimarytextcardview

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-adaptive-card-extension-base > BasePrimaryTextCardView

BasePrimaryTextCardView class

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Base class for a Primary Text Card view.

Signature:

export declare abstract class BasePrimaryTextCardView<TProperties = {}, TState = {}> extends BaseCardView<TProperties, TState, IPrimaryTextCardParameters>

Extends: BaseCardView<TProperties, TState, IPrimaryTextCardParameters>

Remarks

The Primary Text Card view displays the following: - Card Title - Card Icon - One primary text field - One description text field - Zero buttons in the Medium Card size, up to two buttons in Large Card size

Properties

Property Modifiers Type Description
template ISPFxAdaptiveCard (BETA) Returns the Adaptive Card template for the BasePrimaryTextCardView.
Clone this wiki locally