@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
32 lines (31 loc) • 1.6 kB
TypeScript
import React, { ReactNode } from 'react';
/** VwcToggletip
* For more info on this Vivid element please visit https://vivid.deno.dev/components/toggletip
* @param {string | HTMLElement} anchor **attribute** `anchor`
* @param {string | undefined} headline - the optional title of the toggletip **attribute** `headline`
* @param {boolean} alternate - toggle color scheme **attribute** `alternate`
* @param {Placement | undefined} placement - placement of the toggletip **attribute** `placement`
* @param {boolean} open - indicates whether the toggletip is open **attribute** `open`
* @param {AnchorType | undefined} anchor - ID or direct reference to the component's anchor element. **attribute** `anchor`
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
* @param {string} componentName - Core component name, without prefix
*/
declare const VwcToggletip: {
(props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
anchor?: any;
headline?: string | undefined;
alternate?: boolean | undefined;
placement?: any;
open?: boolean | undefined;
VIVID_VERSION?: string | undefined;
componentName?: string | undefined;
}): JSX.Element;
displayName: string;
};
export default VwcToggletip;