We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dc5bbb commit bea5df1Copy full SHA for bea5df1
components/vc-mentions/src/mentionsProps.ts
@@ -20,7 +20,9 @@ export const mentionsProps = {
20
placement: PropTypes.oneOf(PlaceMent),
21
character: PropTypes.any,
22
characterRender: PropTypes.func,
23
- filterOption: PropTypes.func,
+ filterOption: {
24
+ type: [Boolean, Function] as PropType<typeof defaultFilterOption | false>,
25
+ },
26
validateSearch: PropTypes.func,
27
getPopupContainer: {
28
type: Function as PropType<() => HTMLElement>,
0 commit comments