Skip to content

Commit

Permalink
Mark onEdit prop as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kudlajz committed Jul 18, 2024
1 parent b868585 commit fc9e48d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { PressContactMenu } from './PressContactMenu';

interface Props extends RenderElementProps {
element: ContactNode;
onEdit: PressContactsExtensionParameters['onEdit'];
onEdit?: PressContactsExtensionParameters['onEdit'];
renderMenu?: (props: { onClose: () => void }) => ReactNode;
}

Expand Down

0 comments on commit fc9e48d

Please sign in to comment.