@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
27 lines (26 loc) • 1.21 kB
TypeScript
import React, { ReactNode } from 'react';
/** Renders a feedback message of the given type. When type='none', nothing is rendered.
* For more info on this Vivid element please visit https://vivid.deno.dev/components/feedback-message
* @param {FeedbackType} type **attribute** `type`
* @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
* @param {boolean} specialHandling
* @param {VividAriaBehaviour} _vividAriaBehaviour
*/
declare const VwcFeedbackMessage: {
(props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
type?: any;
VIVID_VERSION?: string | undefined;
componentName?: string | undefined;
specialHandling?: boolean | undefined;
_vividAriaBehaviour?: any;
}): JSX.Element;
displayName: string;
};
export default VwcFeedbackMessage;