feat: FAQ collapsible + drag UX — gold styling, compact cards, drop highlight

This commit is contained in:
2026-03-26 00:55:39 +03:00
parent 95c33391e5
commit 30398d2aeb
2 changed files with 42 additions and 24 deletions
+2
View File
@@ -23,6 +23,8 @@ export default function FAQEditorPage() {
label="Вопросы и ответы"
items={data.items}
onChange={(items) => update({ ...data, items })}
collapsible
getItemTitle={(item) => item.question || "Без вопроса"}
renderItem={(item, _i, updateItem) => (
<div className="space-y-3">
<InputField