UNPKG

chop-logic-components

Version:

React UI components library for Chop Logic project

8 lines (7 loc) 287 B
import { default as React } from 'react'; type WithTooltipProps = { tooltip?: string; visibleOn?: 'hover' | 'click' | 'focus' | 'contextmenu'; }; export declare function withTooltip<P extends object>(Component: React.ComponentType<P>): React.FC<P & WithTooltipProps>; export {};