mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
19 lines
482 B
TypeScript
19 lines
482 B
TypeScript
import { Logo1Icon } from '@blocksuite/icons';
|
|
import { IconButton } from '@toeverything/components/button';
|
|
import { Tooltip } from '@toeverything/components/tooltip';
|
|
import { useCallback } from 'react';
|
|
|
|
export const HeaderItem = () => {
|
|
return (
|
|
<Tooltip content="Plugin Enabled">
|
|
<IconButton
|
|
onClick={useCallback(() => {
|
|
console.log('clicked hello world!');
|
|
}, [])}
|
|
>
|
|
<Logo1Icon />
|
|
</IconButton>
|
|
</Tooltip>
|
|
);
|
|
};
|