diff --git a/content/basic/typography/index-en-US.md b/content/basic/typography/index-en-US.md
index 68535f2652..309b979200 100644
--- a/content/basic/typography/index-en-US.md
+++ b/content/basic/typography/index-en-US.md
@@ -292,10 +292,11 @@ Copying of text can be supported by configuring the `copyable` property.
When copyable is configured as true, the default copied content is children itself. Note that at this time, children only support string type.
When copyable is configured as object, you can specify the content copied to the clipboard through `copyable.content`, which is no longer strongly associated with children.
At this time, children will no longer limit the type, but `copyable.content` still needs to be a string.
+You can use the `copyable.render` attribute to customize the copyable button render.
```jsx live=true
import React from 'react';
-import { Typography, TextArea } from '@douyinfe/semi-ui';
+import { Typography, TextArea, Button } from '@douyinfe/semi-ui';
import { IconSetting } from '@douyinfe/semi-icons';
function Demo() {
@@ -308,6 +309,18 @@ function Demo() {
Toast.success({ content: 'Successfully copied.' }) }}>Click the right icon to copy.
Timestamp: {new Date().getTime()/1000}s }}>Custom Copy Node
+ {
+ return (
+
+ );
+ }
+ }}>
+ Custom Copy Render
+
Paste here:
diff --git a/content/basic/typography/index.md b/content/basic/typography/index.md
index 962ee22f87..9ecefbaee7 100644
--- a/content/basic/typography/index.md
+++ b/content/basic/typography/index.md
@@ -280,10 +280,11 @@ function Demo() {
可通过配置 copyable 属性支持文本的复制。
当 copyable 配置为 true时,默认复制内容为 children 本身,注意,此时 children 只支持 string类型传入
当 copyable 配置为 object 时,可通过 `copyable.content` 指定复制至粘贴板的内容,与 children 不再强关联, 此时 children 将不再限定类型,但 `copyable.content` 仍需要为 string
+可以通过 `copyable.render` 属性,自定义复制按钮的渲染逻辑
```jsx live=true
import React from 'react';
-import { Typography, TextArea } from '@douyinfe/semi-ui';
+import { Typography, TextArea, Button } from '@douyinfe/semi-ui';
import { IconSetting } from '@douyinfe/semi-icons';
function Demo() {
@@ -296,6 +297,18 @@ function Demo() {
Toast.success({ content: '复制文本成功' }) }}>点击右边的图标复制文本。
时间戳: {new Date().getTime()/1000}s }}>自定义复制节点
+ {
+ return (
+
+ );
+ }
+ }}>
+ 自定义复制渲染
+