import React from 'react'; import { Mentions } from 'antd'; const { Option } = Mentions; const getOptions = () => ['afc163', 'zombiej', 'yesmeck'].map((value) => ( )); const App: React.FC = () => ( <>
{getOptions()}
{getOptions()} ); export default App;