import { ChildrenProp } from '../core'
import { LinkProps } from '../link'

export interface TooltipProps extends ChildrenProp {
  /** Font size. */
  fontSize?: '16px' | '14px'
  /** Displays given text at the tooltip. */
  text?: string
  /** Tooltip position. */
  placement?:
    | 'top'
    | 'top-start'
    | 'top-end'
    | 'right'
    | 'right-start'
    | 'right-end'
    | 'bottom'
    | 'bottom-start'
    | 'bottom-end'
    | 'left'
    | 'left-start'
    | 'left-end'
  /** Sets correspondent disabled styling */
  disabled?: boolean
  /** Sets maximum width to the tooltip body. */
  maxWidth?: string
  /** Link text that will be concatenated to the end of the tooltip text. */
  linkText?: string
  /** The <Link /> props.  */
  linkProps?: LinkProps
  /** Keeping the tooltip always visible @default false  */
  visible?: boolean
}
