config page

This commit is contained in:
josc146
2023-05-05 23:23:34 +08:00
parent f212eea1b7
commit f6be32825f
18 changed files with 400 additions and 54 deletions

View File

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