File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import React from 'react';
6
6
const App : React . FC = ( ) => {
7
7
const { token } = theme . useToken ( ) ;
8
8
const onCopy = ( textToCopy : any ) => {
9
- if ( ! textToCopy ) return message . success ( '文本为空 ' ) ;
10
- message . success ( `文本复制成功 ${ textToCopy } ` ) ;
9
+ if ( ! textToCopy ) return message . success ( 'Text is empty ' ) ;
10
+ message . success ( `Text copied successfully: ${ textToCopy } ` ) ;
11
11
} ;
12
12
return (
13
13
< Bubble
Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ Common props ref:[Common props](/docs/react/common-props)
50
50
| header | Header content | React.ReactNode \| (content: ContentType, info:{ key?: string \| number }) => React.ReactNode | - | - |
51
51
| loading | Loading state of Message | boolean | - | |
52
52
| placement | Direction of Message | ` start ` \| ` end ` | ` start ` | |
53
- | shape | Shape of bubble | ` round ` \| ` corner ` | - | | | styles | Semantic DOM style | [ Record<SemanticDOM, CSSProperties>] ( #semantic-dom ) | - | |
53
+ | shape | Shape of bubble | ` round ` \| ` corner ` | - | - |
54
+ | styles | Semantic DOM style | [ Record<SemanticDOM, CSSProperties>] ( #semantic-dom ) | - | |
54
55
| typing | Show message with typing motion | boolean \| { step?: number, interval?: number } | false | |
55
56
| variant | Style variant | ` filled ` \| ` borderless ` \| ` outlined ` \| ` shadow ` | ` filled ` | |
56
57
| loadingRender | Customize loading content | () => ReactNode | - | |
You can’t perform that action at this time.
0 commit comments