import React from 'react'; import { SmileFilled, SmileOutlined } from '@ant-design/icons'; import { Typography } from 'antd'; const { Paragraph, Text } = Typography; const App: React.FC = () => ( <> This is a copyable text. Replace copy text. , ], tooltips: ['click here', 'you clicked!!'], }} > Custom Copy icon and replace tooltips text. Hide Copy tooltips. new Promise((resolve) => { setTimeout(() => { resolve('Request text'); }, 500); }), }} > Request copy text. ); export default App;