import React from 'react'; import { Button, Tooltip, TooltipElement, TooltipProps, } from '@ui-kitten/components'; export const TooltipShowcase = (props: TooltipProps): TooltipElement => { const [visible, setVisible] = React.useState(false); const toggleTooltip = (): void => { setVisible(!visible); }; const renderToggleButton = () => ( ); return ( Hi! I am Tooltip! ); };