parent
2dc5bbbf43
commit
bea5df1541
|
@ -20,7 +20,9 @@ export const mentionsProps = {
|
||||||
placement: PropTypes.oneOf(PlaceMent),
|
placement: PropTypes.oneOf(PlaceMent),
|
||||||
character: PropTypes.any,
|
character: PropTypes.any,
|
||||||
characterRender: PropTypes.func,
|
characterRender: PropTypes.func,
|
||||||
filterOption: PropTypes.func,
|
filterOption: {
|
||||||
|
type: [Boolean, Function] as PropType<typeof defaultFilterOption | false>,
|
||||||
|
},
|
||||||
validateSearch: PropTypes.func,
|
validateSearch: PropTypes.func,
|
||||||
getPopupContainer: {
|
getPopupContainer: {
|
||||||
type: Function as PropType<() => HTMLElement>,
|
type: Function as PropType<() => HTMLElement>,
|
||||||
|
|
Loading…
Reference in New Issue