src/app/modules/shared/interfaces/caraouselData.ts
ICaraouselData interface
contents |
contents: |
Type : ICard[] | any[]
|
CaraouselData content can be of |
length |
length: |
Type : number
|
CaraouselData length |
name |
name: |
Type : string
|
CaraouselData name |
import { ICourses } from '@sunbird/core';
import { IContents } from './content';
import {ICard} from './card';
import { IAction } from './action';
/**
* ICaraouselData interface
*/
export interface ICaraouselData {
/**
* CaraouselData name
*/
name: string;
/**
* CaraouselData length
*/
length: number;
/**
* CaraouselData content can be of
* IContents or ICourses
*/
contents?: Array<ICard> | Array<ICourses>;
}