Skip to content

Commit b19c602

Browse files
committed
refactor(vc-mentions): update types vueComponent#4366
1 parent 3da2b65 commit b19c602

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/vc-mentions/src/mentionsProps.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export const mentionsProps = {
2020
placement: PropTypes.oneOf(PlaceMent),
2121
character: PropTypes.any,
2222
characterRender: PropTypes.func,
23-
filterOption: PropTypes.func,
23+
filterOption: {
24+
type: [Boolean, Function] as PropType<typeof defaultFilterOption | false>,
25+
},
2426
validateSearch: PropTypes.func,
2527
getPopupContainer: {
2628
type: Function as PropType<() => HTMLElement>,

0 commit comments

Comments
 (0)