@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
32 lines (31 loc) • 1.47 kB
TypeScript
import React, { ReactNode, SyntheticEvent } from 'react';
import '@vonage/vwc-keypad';
/**
* @param {boolean} noAsterisk attribute: <VwcKeypad no-asterisk />
* @param {boolean} noHash attribute: <VwcKeypad no-hash />
* @param {boolean} noDisplay attribute: <VwcKeypad no-display />
* @param {string} actionText attribute: <VwcKeypad actionText />
* @param {string} cancelText attribute: <VwcKeypad cancelText />
* @param {string} digits attribute: <VwcKeypad digits />
* @param {number} currentPosition attribute: <VwcKeypad currentPosition />
* @param {boolean} actionStarted attribute: <VwcKeypad actionStarted />
*/
declare const VwcKeypad: (props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
onDigitAdded?: ((event: SyntheticEvent) => void) | undefined;
onDigitsSent?: ((event: SyntheticEvent) => void) | undefined;
onActionEnded?: ((event: SyntheticEvent) => void) | undefined;
noAsterisk?: boolean | undefined;
noHash?: boolean | undefined;
noDisplay?: boolean | undefined;
actionText?: string | undefined;
cancelText?: string | undefined;
digits?: string | undefined;
currentPosition?: number | undefined;
actionStarted?: boolean | undefined;
}) => JSX.Element;
export default VwcKeypad;