UNPKG

@vonage/vivid-react

Version:

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

32 lines (31 loc) 1.01 kB
import React, { ReactNode } from 'react'; import '@vonage/vwc-chips'; import '@vonage/vwc-chips/vwc-chip'; /** * @param {string} label * @param {ChipType | undefined} type * @param {boolean} selected * @param {string} icon * @param {string} iconClass * @param {boolean} removable * @param {string} removeIcon * @param {string} removeIconClass * @param {boolean} removeIconFocusable */ declare const VwcChip: (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; label?: string | undefined; type?: any; selected?: boolean | undefined; icon?: string | undefined; iconClass?: string | undefined; removable?: boolean | undefined; removeIcon?: string | undefined; removeIconClass?: string | undefined; removeIconFocusable?: boolean | undefined; }) => JSX.Element; export default VwcChip;