Skip to content

Commit

Permalink
UIQM-652 added onInputFocus to prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanDenis committed Oct 15, 2024
1 parent 336f74d commit 43085a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ QuickMarcEditorRows.propTypes = {
marcType: PropTypes.oneOf(Object.values(MARC_TYPES)).isRequired,
fixedFieldSpec: PropTypes.object.isRequired,
onCheckCentralTenantPerm: PropTypes.func,
onInputFocus: PropTypes.func.isRequired,
};

QuickMarcEditorRows.defaultProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ const getComponent = (props) => (
}}
subtype="m"
isLoadingLinkSuggestions={false}
onInputFocus={jest.fn()}
{...props}
/>
)}
Expand Down

0 comments on commit 43085a8

Please sign in to comment.