@@ -85,8 +85,8 @@ npm start
8585| autoFocus | ` boolean ` | ` false ` | 安装后聚焦文本区域。 |
8686| autoSize | ` boolean \| { minRows?: number; maxRows?: number } ` | - | 自动调整文本区域高度。 |
8787| children | ` ReactNode ` | - | ` Mentions.Option ` 小朋友。 |
88- | className | ` string ` | - | 根元素的className。 |
89- | classNames | ` MentionsProps['classNames'] ` | - | 插槽的语义className称。 |
88+ | className | ` string ` | - | 根元素的 className。 |
89+ | classNames | ` MentionsProps['classNames'] ` | - | 插槽的语义 className。 |
9090| defaultValue | ` string ` | - | 初始值。 |
9191| direction | ` 'ltr' \| 'rtl' ` | ` ltr ` | 弹层方向。 |
9292| filterOption | ` false \| (input: string, option: OptionProps) => boolean ` | - | 自定义选项过滤。 |
@@ -95,9 +95,9 @@ npm start
9595| notFoundContent | ` ReactNode ` | ` Not Found ` | 没有选项匹配时显示的内容。 |
9696| options | ` DataDrivenOptionProps[] ` | - | 数据驱动的选项。 |
9797| placement | ` 'top' \| 'bottom' ` | ` bottom ` | 建议弹层窗口放置。 |
98- | popupClassName | ` string ` | - | 弹层窗口的className称。 |
98+ | popupClassName | ` string ` | - | 弹层窗口的 className。 |
9999| prefix | ` string \| string[] ` | ` @ ` | 触发前缀或前缀。 |
100- | prefixCls | ` string ` | ` rc-mentions ` | className前缀。 |
100+ | prefixCls | ` string ` | ` rc-mentions ` | className 前缀。 |
101101| rows | ` number ` | ` 1 ` | 文本域行数。 |
102102| silent | ` boolean ` | ` false ` | 忽略过渡阶段的 Enter 行为。 |
103103| split | ` string ` | ` ' ' ` | 在选定的提及之后插入的字符串。 |
@@ -122,7 +122,7 @@ npm start
122122| 参数 | 类型 | 默认值 | 说明 |
123123| --------- | --------------------- | ------- | ---------------------- |
124124| children | ` ReactNode ` | - | 选项标签。 |
125- | className | ` string ` | - | 选项的className称。 |
125+ | className | ` string ` | - | 选项的 className。 |
126126| disabled | ` boolean ` | ` false ` | 禁用该选项。 |
127127| key | ` string ` | - | React键和选项键。 |
128128| style | ` React.CSSProperties ` | - | 内联选项样式。 |
0 commit comments