UNPKG

@vonage/vivid-react

Version:

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

32 lines (31 loc) 1.07 kB
import React, { ReactNode, SyntheticEvent } from 'react'; import '@vonage/vwc-icon-button'; /** * @param {IconButtonLayout | undefined} layout * @param {IconButtonConnotation | undefined} connotation * @param {IconButtonShape | undefined} shape * @param {boolean} dense * @param {boolean} enlarged * @param {boolean} disabled * @param {string} icon * @param {string | undefined} ariaLabel * @param {string} value */ declare const VwcIconButton: (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; layout?: any; connotation?: any; shape?: any; dense?: boolean | undefined; enlarged?: boolean | undefined; disabled?: boolean | undefined; icon?: string | undefined; ariaLabel?: string | undefined; value?: string | undefined; }) => JSX.Element; export default VwcIconButton;