UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

15 lines (14 loc) 612 B
/*! * KoliBri - The accessible HTML-Standard */ import { __rest } from "tslib"; import { h } from "@stencil/core"; import clsx from "../../utils/clsx"; const InputAdornment = (_a, children) => { var { position = 'start', class: className } = _a, other = __rest(_a, ["position", "class"]); const rootClassName = `kol-input-container__adornment`; const positionClassName = `${rootClassName}--${position}`; return (h("div", Object.assign({ class: clsx(rootClassName, positionClassName, className) }, other), children)); }; export default InputAdornment; //# sourceMappingURL=InputAdornment.js.map