mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 00:26:51 +08:00
18 lines
417 B
TypeScript
18 lines
417 B
TypeScript
import { IconButton, Tooltip } from '@affine/component';
|
|
import { Logo1Icon } from '@blocksuite/icons';
|
|
import { useCallback } from 'react';
|
|
|
|
export const HeaderItem = () => {
|
|
return (
|
|
<Tooltip content="Plugin Enabled">
|
|
<IconButton
|
|
onClick={useCallback(() => {
|
|
console.log('clicked hello world!');
|
|
}, [])}
|
|
>
|
|
<Logo1Icon />
|
|
</IconButton>
|
|
</Tooltip>
|
|
);
|
|
};
|