UNPKG

@vonage/vivid-react

Version:

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

35 lines (34 loc) 1.1 kB
import React, { ReactNode } from 'react'; import '@vonage/vwc-tags/vwc-tag'; /** * @param {CSSResult} styles * @param {Promise<Ripple | null>} ripple * @param {HTMLElement} selectableElement * @param {string | undefined} text * @param {boolean} selected * @param {TagConnotation | undefined} connotation * @param {TagShape | undefined} shape * @param {TagLayout | undefined} layout * @param {boolean} selectable * @param {boolean} removable * @param {boolean} removeEventOnly */ declare const VwcTag: (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; styles?: any; ripple?: any; selectableElement?: any; text?: string | undefined; selected?: boolean | undefined; connotation?: any; shape?: any; layout?: any; selectable?: boolean | undefined; removable?: boolean | undefined; removeEventOnly?: boolean | undefined; }) => JSX.Element; export default VwcTag;