@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
23 lines (22 loc) • 816 B
TypeScript
import React, { ReactNode } from 'react';
import '@vonage/vwc-tooltip';
/**
* @param {CSSResult} styles
* @param {string} text attribute: <VwcTooltip text />
* @param {Placement | undefined} corner attribute: <VwcTooltip corner />
* @param {boolean} open attribute: <VwcTooltip open />
* @param {string} anchor attribute: <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;