1.0.7 • Published 4 years ago

intraactive-framework-spfx-card v1.0.7

Weekly downloads
26
License
MIT
Repository
-
Last release
4 years ago

IntraActive Framework - SPFx Card

IntraActive Framework's "Card" package is a SPFx component to be used in a card view.

Installation

`$ npm install intraactive-framework-spfx-card

Import

import IAImagePicker from 'intraactive-framework-spfx-card'

Usage

IACard {
  title: string;
  content: any;
   labels: {
      edit: string;
      preview: string;
      open: string;
      copy: string;
      delete: string;
   }
  userType: string;
  serviceScope: ServiceScope;
  thumbnail?: {
    type: string;
    backgroundColor: string;
    backgroundImage?: string;
  };
  editor?: {
    name: string;
    profileImage: string;
    modifiedDate: Date;
  };
  contentType?: {
    icon: string;
    displayName: string;
    key: string;
  };
  status?: {
    title: string;
    icon: string;
    color: string;
  };
  onClickEdit: (content: any) => void;
  onClickOpen?: (content: any) => void;
  onClickCopy?: (content: any) => void;
}