-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(web): new UI: SectionHeader 菜单
- Loading branch information
1 parent
4735b0b
commit 68707fc
Showing
4 changed files
with
92 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import React from 'react'; | ||
import { TMemo } from '@shared/components/TMemo'; | ||
import { Menu } from 'antd'; | ||
|
||
interface GroupMenuProps { | ||
groupUUID: string; | ||
} | ||
export const GroupMenu: React.FC<GroupMenuProps> = TMemo((props) => { | ||
const { groupUUID } = props; | ||
|
||
return ( | ||
<Menu> | ||
<Menu.Item> | ||
<a | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
href="http://www.alipay.com/" | ||
> | ||
查看详情 | ||
</a> | ||
</Menu.Item> | ||
<Menu.Item> | ||
<a | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
href="http://www.taobao.com/" | ||
> | ||
邀请成员 | ||
</a> | ||
</Menu.Item> | ||
<Menu.Item> | ||
<a | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
href="http://www.tmall.com/" | ||
> | ||
创建面板 | ||
</a> | ||
</Menu.Item> | ||
<Menu.Item danger={true}>退出团</Menu.Item> | ||
</Menu> | ||
); | ||
}); | ||
GroupMenu.displayName = 'GroupMenu'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters