From f6ebd2b9c84f7ecff81e1858ba7c03406e47d477 Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Mon, 6 Nov 2023 13:35:39 -0800 Subject: [PATCH] Forward MenuItem properties to the MenuItem component --- src/miradorSharePlugin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/miradorSharePlugin.js b/src/miradorSharePlugin.js index ea51db7..1d8f303 100644 --- a/src/miradorSharePlugin.js +++ b/src/miradorSharePlugin.js @@ -46,8 +46,9 @@ class MiradorShare extends Component { } render() { + const { openShareDialog, handleClose, ...menuProps } = this.props; return ( - this.openDialogAndClose()}> + this.openDialogAndClose()}>