--- order: 0 title: zh-CN: 基本使用 en-US: Basic --- ## zh-CN 基本使用。 ## en-US Basic usage. ```tsx import React from 'react'; import { Mentions } from 'antd'; import type { MentionsOptionProps } from 'antd/es/mentions'; const onChange = (value: string) => { console.log('Change:', value); }; const onSelect = (option: MentionsOptionProps) => { console.log('select', option); }; const App: React.FC = () => ( ); export default App; ```