UNPKG

@vonage/vivid-react

Version:

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

56 lines (55 loc) 1.82 kB
import React, { ReactNode, SyntheticEvent } from 'react'; import '@vonage/vwc-button'; /** * @param {string | undefined} name * @param {string | undefined} value * @param {boolean} enlarged * @param {ButtonLayout | undefined} layout * @param {ButtonConnotation | undefined} connotation * @param {ButtonShape | undefined} shape * @param {string} type * @param {string | null} formId * @param {boolean} stacked * @param {HTMLFormElement | null} form * @param {ShadowRootInit} shadowRootOptions * @param {boolean} raised * @param {boolean} unelevated * @param {boolean} outlined * @param {boolean} dense * @param {boolean} disabled * @param {boolean} trailingIcon * @param {boolean} fullwidth * @param {string} icon * @param {string} label * @param {boolean} expandContent */ declare const VwcButton: (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; onClick?: ((event: SyntheticEvent) => void) | undefined; name?: string | undefined; value?: string | undefined; enlarged?: boolean | undefined; layout?: any; connotation?: any; shape?: any; type?: string | undefined; formId?: string | null | undefined; stacked?: boolean | undefined; form?: any; shadowRootOptions?: any; raised?: boolean | undefined; unelevated?: boolean | undefined; outlined?: boolean | undefined; dense?: boolean | undefined; disabled?: boolean | undefined; trailingIcon?: boolean | undefined; fullwidth?: boolean | undefined; icon?: string | undefined; label?: string | undefined; expandContent?: boolean | undefined; }) => JSX.Element; export default VwcButton;