• Card Group

    import { Components } from "gd-sprest-bs";

    // Create the cardGroup
    let el = document.querySelector("#cardGroup");
    let cardGroup = Components.CardGroup({
    el: el,
    cards: [
    {
    body: [
    {
    title: "Card 1",
    subTitle: "SubTitle 1",
    text: "This is the first card."
    }
    ]
    },
    {
    body: [
    {
    title: "Card 2",
    subTitle: "SubTitle 2",
    text: "This is the second card."
    }
    ]
    },
    {
    body: [
    {
    title: "Card 3",
    subTitle: "SubTitle 3",
    text: "This is the third card."
    }
    ]
    }
    ]
    });

    Parameters

    • props: ICardGroupProps
    • Optional template: string
    • Optional cardTemplate: string

    Returns ICardGroup

Generated using TypeDoc