Skip to content

Commit

Permalink
fix(core): add payload to onPathFocus in FormCallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanwikner committed Mar 21, 2024
1 parent 06af3a1 commit 2317246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {type FormPatch, type PatchEvent} from '../../patch'
export interface FormCallbacksValue {
transformPatches?: (patches: FormPatch[]) => FormPatch[]
onChange: (patchEvent: PatchEvent) => void
onPathFocus: (path: Path) => void
onPathFocus: (path: Path, payload?: Record<string, unknown>) => void
onPathBlur: (path: Path) => void
onPathOpen: (path: Path) => void
onSetPathCollapsed: (path: Path, collapsed: boolean) => void
Expand Down

0 comments on commit 2317246

Please sign in to comment.