UNPKG

@vonage/vivid-react

Version:

Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings

23 lines (22 loc) 816 B
import React, { ReactNode } from 'react'; import '@vonage/vwc-tooltip'; /** * @param {CSSResult} styles * @param {string} text attribute: &lt;VwcTooltip text /> * @param {Placement | undefined} corner attribute: &lt;VwcTooltip corner /> * @param {boolean} open attribute: &lt;VwcTooltip open /> * @param {string} anchor attribute: &lt;VwcTooltip anchor /> */ declare const VwcTooltip: (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; styles?: any; text?: string | undefined; corner?: any; open?: boolean | undefined; anchor?: string | undefined; }) => JSX.Element; export default VwcTooltip;