ConusAI vendor v0.1.0-dev.20261027+9b1131fb

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261027+9b1131fb
2026-10-27 18:05:18 +00:00
commit f23f4e535d
159 changed files with 4293 additions and 0 deletions
@@ -0,0 +1,18 @@
import type { Note } from '@/entities/note'
import { updateNote } from '@/features/edit-note/api/actions'
export function EditNoteForm({ note }: { note: Note }) {
return (
<form action={updateNote.bind(null, note.id)}>
<label>
Title
<input name="title" defaultValue={note.title} required maxLength={200} />
</label>
<label>
Body
<textarea name="body" rows={3} defaultValue={note.body} />
</label>
<button type="submit">Save</button>
</form>
)
}