Jumbotron

less than 1 minute read

References

TypeScript

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

// Create the jumbotron
let el = document.querySelector("#jumbotron");
let jumbotron = Components.Jumbotron({
    el: el,
    title: "My Jumbotron",
    lead: "This is a jumbotron"
});

React

import * as React from "react";
import { Jumbotron } from "gd-sprest-bsx";

export class IDemo extends React.Component {
    // Render the component
    render() {
        return (
            <Jumbotron
                title="My Jumbotron"
                lead="This is a jumbotron"
            />
        );
    }
}

VueJS

<template>
    <Jumbotron title="My Jumbotron" lead="This is a jumbotron" />
</template>

<script>
import { Jumbotron } from "gd-sprest-bs-vue";
export default {
    components: { Jumbotron }
}
</script>

Code Playground