rc-mentions
- Version 2.20.0
- Published
- 78.6 kB
- 7 dependencies
- MIT license
Install
npm i rc-mentionsyarn add rc-mentionspnpm add rc-mentionsOverview
React Mentions
Index
Variables
variable Mentions
const Mentions: any;Interfaces
interface MentionsProps
interface MentionsProps extends BaseTextareaAttrs {}property autoFocus
autoFocus?: boolean;property children
children?: React.ReactNode;property className
className?: string;property classNames
classNames?: CommonInputProps['classNames'] & { mentions?: string;};property defaultValue
defaultValue?: string;property direction
direction?: Direction;property dropdownClassName
dropdownClassName?: string;property filterOption
filterOption?: false | typeof defaultFilterOption;property getPopupContainer
getPopupContainer?: () => HTMLElement;property notFoundContent
notFoundContent?: React.ReactNode;property onBlur
onBlur?: React.FocusEventHandler<HTMLTextAreaElement>;property onChange
onChange?: (text: string) => void;property onFocus
onFocus?: React.FocusEventHandler<HTMLTextAreaElement>;property onPopupScroll
onPopupScroll?: (event: React.UIEvent<HTMLDivElement>) => void;property onSearch
onSearch?: (text: string, prefix: string) => void;property onSelect
onSelect?: (option: OptionProps, prefix: string) => void;property open
open?: boolean;Testing usage. Do not use in prod. It will not work as your expect.
property options
options?: DataDrivenOptionProps[];property placement
placement?: Placement;property prefix
prefix?: string | string[];property prefixCls
prefixCls?: string;property silent
silent?: boolean;property split
split?: string;property style
style?: React.CSSProperties;property transitionName
transitionName?: string;property validateSearch
validateSearch?: typeof defaultValidateSearch;property value
value?: string;Package Files (2)
Dependencies (7)
Dev Dependencies (20)
Peer Dependencies (2)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rc-mentions.
- Markdown[](https://www.jsdocs.io/package/rc-mentions)
- HTML<a href="https://www.jsdocs.io/package/rc-mentions"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3611 ms. - Missing or incorrect documentation? Open an issue for this package.
