@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
41 lines (40 loc) • 1.41 kB
TypeScript
import React, { ReactNode, SyntheticEvent } from 'react';
import '@vonage/vwc-tab-bar';
import '@vonage/vwc-tab-bar/vwc-tab';
/**
* @param {boolean} disabled
* @param {boolean} block
* @param {boolean} trailingIcon
* @param {ShadowRootInit} shadowRootOptions
* @param {string} label
* @param {string} icon
* @param {boolean} hasImageIcon
* @param {boolean} isFadingIndicator
* @param {boolean} minWidth
* @param {boolean} isMinWidthIndicator
* @param {string} indicatorIcon
* @param {boolean} stacked
* @param {boolean} focusOnActivate
*/
declare const VwcTab: (props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
onInteracted?: ((event: SyntheticEvent) => void) | undefined;
disabled?: boolean | undefined;
block?: boolean | undefined;
trailingIcon?: boolean | undefined;
shadowRootOptions?: any;
label?: string | undefined;
icon?: string | undefined;
hasImageIcon?: boolean | undefined;
isFadingIndicator?: boolean | undefined;
minWidth?: boolean | undefined;
isMinWidthIndicator?: boolean | undefined;
indicatorIcon?: string | undefined;
stacked?: boolean | undefined;
focusOnActivate?: boolean | undefined;
}) => JSX.Element;
export default VwcTab;