"use client";
import { jsxs as l, jsx as e } from "react/jsx-runtime";
function t({
  label: d,
  append: o,
  suggestions: c
}) {
  return /* @__PURE__ */ l("div", { className: "grow space-y-6", children: [
    /* @__PURE__ */ e("h2", { className: "text-center text-2xl font-bold", children: d }),
    /* @__PURE__ */ e("div", { className: "flex gap-6 text-sm", children: c.map((r) => /* @__PURE__ */ e(
      "button",
      {
        onClick: () => o({ role: "user", content: r }),
        className: "bg-d-background hover:bg-d-secondary border-d-border h-max flex-1 rounded-xl border p-4",
        children: /* @__PURE__ */ e("p", { children: r })
      },
      r
    )) })
  ] });
}
export {
  t as PromptSuggestions
};
