File

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

Description

ICaraouselData interface

Index

Properties

Properties

contents
contents: Array<ICard> | Array<ICourses>
Type : Array<ICard> | Array<ICourses>
Optional

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 {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>;
}

results matching ""

    No results matching ""