UNPKG

@vonage/vivid-react

Version:

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

42 lines (41 loc) 1.58 kB
import React, { ReactNode } from 'react'; /** VwcIcon * For more info on this Vivid element please visit https://vivid.deno.dev/components/icon * @param {IconConnotation | undefined} connotation - The connotation the icon should have. **attribute** `connotation` * @param {| -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined} size **attribute** `size` * @param {boolean} iconLoaded * @param {string | undefined} label - Provides a (screen reader only) descriptive label for the icon. **attribute** `label` * @param {string | undefined} name - Indicates which icon to resolve. **attribute** `name` * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging. It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`. * @param {string} componentName - Core component name, without prefix */ declare const VwcIcon: { (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; connotation?: any; size?: any; iconLoaded?: boolean | undefined; label?: string | undefined; name?: string | undefined; VIVID_VERSION?: string | undefined; componentName?: string | undefined; }): JSX.Element; displayName: string; }; export default VwcIcon;