import { h } from "@stencil/core";
export class FormControlHelpText {
    render() {
        if (!this.helpText) {
            return null;
        }
        return (h("small", { class: 'form-text text-muted', id: `form-help-text-${this.name}` }, this.helpText));
    }
    static get is() { return "form-control-help-text"; }
    static get properties() {
        return {
            "helpText": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": true,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "help-text"
            },
            "name": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": true,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "name"
            }
        };
    }
}
