src/app/modules/shared/interfaces/caraouselData.ts
ICaraouselData interface
Properties |
contents |
contents:
|
Type : Array<ICard> | Array<ICourses>
|
Optional |
CaraouselData content can be of IContents or ICourses |
length |
length:
|
Type : number
|
CaraouselData length |
name |
name:
|
Type : string
|
CaraouselData name |
import { ICourses } from '@sunbird/core';
import {ICard} from './card';
/**
* 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>;
}