correct base on some suggestion

This commit is contained in:
hardiknai-techm
2021-05-07 12:51:53 +05:30
parent 0e0e6a2257
commit 8075072f76
24 changed files with 31698 additions and 2350 deletions

View File

@@ -0,0 +1,18 @@
import { IconButton, TooltipHost } from "@fluentui/react";
import * as React from "react";
export interface TooltipProps {
children: string;
}
const iconProps = { iconName: "Info" };
export const InfoTooltip: React.FunctionComponent = ({ children }: TooltipProps) => {
return (
<span>
<TooltipHost content={children}>
<IconButton iconProps={iconProps} ariaLabel="Info" vertical-align />
</TooltipHost>
</span>
);
};