Skip to content

Commit

Permalink
Merge pull request #93 from weipengzou/fix_wrong_text
Browse files Browse the repository at this point in the history
docs: fix wrong text
  • Loading branch information
ONLY-yours authored Oct 9, 2023
2 parents 60ae686 + b6a8ed8 commit 434fb04
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/ActionGroup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ demo:
| dropdownProps | `[]<ActionGroupItem \| { type: 'divider' }>` | ็ป™ dropdownMenu ่ฎพ็ฝฎ็š„่‡ชๅฎšไน‰ Props๏ผŒๆ”ฏๆŒ้™คไบ† Menu ๅค–ๅ…ถไฝ™ๆ‰€ๆœ‰ antd dropdown Props ็š„่ฎพ็ฝฎ |
| dropdownMenuTrigger | `React.ReactNode` | ็”จไบŽ่‡ชๅฎšไน‰ dropdownMenu ไธ‹ๆ‹‰็š„่งฆๅ‘ Dom๏ผŒ้ป˜่ฎคไธบ DashOutlined ็š„ Icon |
| render | `(defalutDom: React.ReactNode, config: Array<ButtonConfig>) => React.ReactNode` | ็”จไบŽๆธฒๆŸ“่‡ชๅฎšไน‰่ƒฝๅŠ›็š„ render ๆ–นๆณ• |
| onFullScreenClick | `() => void` | ๅ…จๅฑๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›žๆŽ‰ |
| onUndoClick | `() => void` | ๆ’ค้”€ๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›žๆŽ‰ |
| onRedoClick | `() => void` | ้‡ๅšๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›žๆŽ‰ |
| onDeleteClick | `() => void` | ๅˆ ้™คๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›žๆŽ‰ |
| onFullScreenClick | `() => void` | ๅ…จๅฑๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›ž่ฐƒ |
| onUndoClick | `() => void` | ๆ’ค้”€ๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›ž่ฐƒ |
| onRedoClick | `() => void` | ้‡ๅšๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›ž่ฐƒ |
| onDeleteClick | `() => void` | ๅˆ ้™คๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›ž่ฐƒ |
| type | `'ghost' \| 'block' \| 'pure'` | ๆ•ดไฝ“็š„ๆ ทๅผ |
| direction | `'row' \| 'column'` | ๅ›พๆ ‡ๆŽ’ๅˆ—ๆ—ถๅ€™็š„ๆ–นๅ‘ |
| size | `'default' \| 'large' \| number` | ๅ›พๆ ‡ๅฐบๅฏธ |
Expand All @@ -47,5 +47,5 @@ demo:
| icon | `React.ReactNode` | ๅฑ•็คบ็š„ icon |
| style | `React.CSSProperties` | ๆฏไธช้…็ฝฎๆŒ‰้’ฎ็š„ๅ•็‹ฌๆ ทๅผ |
| key | `key` | ๆฏไธชๆŒ‰้’ฎๅ•็‹ฌ็š„ key |
| onClick | `() => void` | ๆŒ‰้’ฎ็‚นๅ‡ปไบ‹ไปถ็š„ๅ›žๆŽ‰ |
| onClick | `() => void` | ๆŒ‰้’ฎ็‚นๅ‡ปไบ‹ไปถ็š„ๅ›ž่ฐƒ |
| label | `string` | ็”จไบŽๅฑ•็คบๆŒ‰้’ฎ็š„ๆ็คบๆ–‡ๆกˆ |
10 changes: 5 additions & 5 deletions src/ActionGroup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type ActionIconGroupItem = {
*/
key?: string;
/**
* @description ๆŒ‰้’ฎ็‚นๅ‡ปไบ‹ไปถ็š„ๅ›žๆŽ‰
* @description ๆŒ‰้’ฎ็‚นๅ‡ปไบ‹ไปถ็š„ๅ›ž่ฐƒ
*/
onClick?: () => void;
/**
Expand Down Expand Up @@ -68,19 +68,19 @@ interface ActionGroupProps {
dropdownMenu?: Array<ActionIconGroupItem | { type: 'divider' }>,
) => JSX.Element;
/**
* @description ๅ…จๅฑๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›žๆŽ‰
* @description ๅ…จๅฑๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›ž่ฐƒ
*/
onFullScreenClick?: () => void;
/**
* @description ๆ’ค้”€ๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›žๆŽ‰
* @description ๆ’ค้”€ๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›ž่ฐƒ
*/
onUndoClick?: () => void;
/**
* @description ้‡ๅšๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›žๆŽ‰
* @description ้‡ๅšๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›ž่ฐƒ
*/
onRedoClick?: () => void;
/**
* @description ๅˆ ้™คๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›žๆŽ‰
* @description ๅˆ ้™คๆŒ‰้’ฎ็‚นๅ‡ป็š„ๅ›ž่ฐƒ
*/
onDeleteClick?: () => void;
/**
Expand Down

0 comments on commit 434fb04

Please sign in to comment.