UNPKG

@vonage/vivid-react

Version:

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

29 lines (28 loc) 1.36 kB
import React, { ReactNode } from 'react'; /** VwcRichTextEditor * For more info on this Vivid element please visit https://vivid.deno.dev/components/rich-text-editor * @param {string | undefined} value - Indicates the rich text editor's value. * @param {number | null} selectionStart **attribute** `selection-start` * @param {number | null} selectionEnd **attribute** `selection-end` * @param {string | undefined} placeholder **attribute** `placeholder` * @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 VwcRichTextEditor: { (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; value?: string | undefined; selectionStart?: number | undefined; selectionEnd?: number | undefined; placeholder?: string | undefined; VIVID_VERSION?: string | undefined; componentName?: string | undefined; }): JSX.Element; displayName: string; }; export default VwcRichTextEditor;