@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
17 lines (16 loc) • 672 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { __rest } from "tslib";
import { h } from "@stencil/core";
import clsx from "../../utils/clsx";
import { createRelatedUniqueId } from "../../utils/dev.utils";
const KolFormFieldHintFc = (_a) => {
var { id, class: classNames, hint, baseClassName = 'kol-form-field' } = _a, other = __rest(_a, ["id", "class", "hint", "baseClassName"]);
if (!hint) {
return null;
}
return (h("span", Object.assign({ class: clsx(`${baseClassName}__hint`, classNames), id: createRelatedUniqueId(id || '', 'hint') }, other), hint));
};
export default KolFormFieldHintFc;
//# sourceMappingURL=FormFieldHint.js.map