UNPKG

@vonage/vivid-react

Version:

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

32 lines (31 loc) 1.47 kB
import React, { ReactNode, SyntheticEvent } from 'react'; import '@vonage/vwc-keypad'; /** * @param {boolean} noAsterisk attribute: &lt;VwcKeypad no-asterisk /> * @param {boolean} noHash attribute: &lt;VwcKeypad no-hash /> * @param {boolean} noDisplay attribute: &lt;VwcKeypad no-display /> * @param {string} actionText attribute: &lt;VwcKeypad actionText /> * @param {string} cancelText attribute: &lt;VwcKeypad cancelText /> * @param {string} digits attribute: &lt;VwcKeypad digits /> * @param {number} currentPosition attribute: &lt;VwcKeypad currentPosition /> * @param {boolean} actionStarted attribute: &lt;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;