--- order: 0 title: 基本使用 --- ## zh-CN 基本使用 ## en-US Basic usage. ````jsx import { Mention } from 'antd'; const { toString, toEditorState } = Mention; function onChange(editorState) { console.log(toString(editorState)); } ReactDOM.render( , mountNode); ````