step-guide-react
Version:
<div class="align" ><h1>React Tour-Guide</h1></div>
18 lines (17 loc) • 545 B
TypeScript
import { FC } from "react";
import "./Tooltip.css";
interface TooltipProps {
/** The message to display inside the tooltip */
message: string;
}
/**
* Tooltip Component
*
* This component renders a styled tooltip container that displays a message.
* The appearance of the tooltip can be customized using the `theme` prop.
*
* @param {TooltipProps} props - The properties passed to the Tooltip component.
* @returns {JSX.Element} The rendered Tooltip component.
*/
declare const Tooltip: FC<TooltipProps>;
export default Tooltip;