Input Group

less than 1 minute read

References

TypeScript

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

// Create the inputGroup
let el = document.querySelector("#inputGroup");
let inputGroup = Components.InputGroup({
    el: el,
    label: "My Name:",
    value: "First Last"
});

React

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

export class IDemo extends React.Component {
    // Render the component
    render() {
        return (
            <InputGroup
                label="My Name"
                value="First Last"
            />
        );
    }
}

Code Playground