microsoft / Viva-Connections-Extensibility-Beta

38 stars 6 forks source link

Small tweak to lab 2 #4

Closed pkbullock closed 3 years ago

pkbullock commented 3 years ago

In section: https://github.com/microsoft/Viva-Connections-Extensibility-Private-Beta/wiki/Lab-2:-Advanced-Card-View-Functionality#42---previous--next-buttons

When adding the last block of code, the IActionArguments needs to be added to the import statement.

import {
  BasePrimaryTextCardView,
  IPrimaryTextCardParameters,
  IExternalLinkCardAction,
  IQuickViewCardAction,
  ICardButton,
  IActionArguments
} from '@microsoft/sp-adaptive-card-extension-base';

Found couple of points

Other than that all working 😍

johnguy0 commented 3 years ago

Thanks for the feedback! I've updated the Lab.