Skip to content

Commit ad43016

Browse files
author
Sigridur Osp Green Sigurdardottir
authored
fix: customSuggestionsContainer typing fixed in SuggestionsOverlay (signavio#609)
* customSuggestionsContainer typing fixed in SuggestionsOverlay * changeset added
1 parent cbb97c7 commit ad43016

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/dull-monkeys-sin.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-mentions": patch
3+
---
4+
5+
typing fix in SuggestionsOverlay.js

src/SuggestionsOverlay.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ SuggestionsOverlay.propTypes = {
153153
isOpened: PropTypes.bool.isRequired,
154154
onSelect: PropTypes.func,
155155
ignoreAccents: PropTypes.bool,
156-
customSuggestionsContainer: PropTypes.any,
156+
customSuggestionsContainer: PropTypes.func,
157157
containerRef: PropTypes.oneOfType([
158158
PropTypes.func,
159159
PropTypes.shape({

0 commit comments

Comments
 (0)