move files

This commit is contained in:
josc146
2023-05-07 21:27:13 +08:00
parent 0e852daf43
commit d46a18425b
12 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
import React, {FC, ReactElement} from 'react';
import {Button, Tooltip} from '@fluentui/react-components';
export const ToolTipButton: FC<{ text?: string, desc: string, icon?: ReactElement }> = ({text, desc, icon}) => {
return (
<Tooltip content={desc} showDelay={0} hideDelay={0} relationship="label">
<Button icon={icon}>{text}</Button>
</Tooltip>
);
};