config page
This commit is contained in:
10
frontend/src/Pages/components/ToolTipButton.tsx
Normal file
10
frontend/src/Pages/components/ToolTipButton.tsx
Normal 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>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user