File

src/app/modules/shared/interfaces/caraouselData.ts

Description

ICaraouselData interface

Properties

contents
contents: ICard[] | any[]
Type : ICard[] | any[]

CaraouselData content can be of
IContents or ICourses

length
length: number
Type : number

CaraouselData length

name
name: string
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>;
}

results matching ""

    No results matching ""