/*!
 * KoliBri - The accessible HTML-Standard
 */
import { __rest } from "tslib";
import { h } from "@stencil/core";
import { createRelatedUniqueId } from "../../utils/dev.utils";
const SuggestionsFc = (_a) => {
    var { id, suggestions } = _a, other = __rest(_a, ["id", "suggestions"]);
    if (!suggestions) {
        return null;
    }
    return (h("datalist", Object.assign({ id: createRelatedUniqueId(id, 'list') }, other), suggestions.map((option) => (h("option", { value: option })))));
};
export default SuggestionsFc;
//# sourceMappingURL=Suggestions.js.map
