UNPKG

@types/carbon-components-react

Version:
16 lines (12 loc) 673 B
import * as React from "react"; import { Direction, ReactButtonAttr, TooltipAlignment } from "../../../typings/shared"; type ExcludedAttributes = "aria-describedby" | "children" | "type"; export interface TooltipIconProps extends Omit<ReactButtonAttr, ExcludedAttributes> { align?: TooltipAlignment | undefined, children: NonNullable<React.ReactNode>, direction?: Direction | undefined, // required but has default value, should be bottom/top but the prop type has left/right renderIcon?: React.ComponentType | undefined; tooltipText: NonNullable<React.ReactNode>; } declare const TooltipIcon: React.FC<TooltipIconProps>; export default TooltipIcon;