UNPKG

@vonage/vivid-react

Version:

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

27 lines (26 loc) 823 B
import React, { ReactNode } from 'react'; import '@vonage/vwc-banner'; /** * @param {string} message * @param {boolean} dismissible * @param {BannerConnotation | undefined} connotation * @param {string | undefined} icon * @param {boolean} open * @param {BannerRole} role * @param {BannerAriaLive} ariaLive */ declare const VwcBanner: (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; message?: string | undefined; dismissible?: boolean | undefined; connotation?: any; icon?: string | undefined; open?: boolean | undefined; role?: any; ariaLive?: any; }) => JSX.Element; export default VwcBanner;