-
-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9232c0
commit 4ceeb9c
Showing
3 changed files
with
77 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { EmojiPicker, Icon, Tooltip } from '@lobehub/ui'; | ||
import { Button } from 'antd'; | ||
import { SunIcon } from 'lucide-react'; | ||
|
||
const LOGO = 'https://registry.npmmirror.com/@lobehub/assets-logo/1.2.0/files/assets/logo-3d.webp'; | ||
|
||
export default () => ( | ||
<EmojiPicker | ||
customTabs={[ | ||
{ | ||
label: ( | ||
<Tooltip title={'Custom'}> | ||
<Icon icon={SunIcon} size={{ fontSize: 20, strokeWidth: 2.5 }} /> | ||
</Tooltip> | ||
), | ||
render: (handleAvatarChange) => ( | ||
<Button onClick={() => handleAvatarChange(LOGO)}>Custom Tab</Button> | ||
), | ||
value: 'custom', | ||
}, | ||
]} | ||
/> | ||
); |
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