Skip to content

Commit

Permalink
chore: modify as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
Xremn committed Dec 25, 2023
1 parent c575c4f commit 81f4696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export type OnContextMenu = (contextMenuProps: AbsolutePopupOptions) => void
export type RenderMenuContext = {
mode: 'tree' | 'text' | 'table'
modal: boolean
selection?: JSONEditorSelection | null
selection: JSONEditorSelection | null
}
export type OnRenderMenu = (items: MenuItem[], context: RenderMenuContext) => MenuItem[] | undefined
export type OnRenderMenuInternal = (items: MenuItem[]) => MenuItem[]
Expand Down

0 comments on commit 81f4696

Please sign in to comment.