UNPKG

@vonage/vivid-react

Version:

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

36 lines (35 loc) 1.48 kB
import React, { ReactNode, SyntheticEvent } from 'react'; import '@vonage/vwc-list'; /** This component is an extension of [<mwc-list>](https://github.com/material-components/material-components-web-components/tree/master/packages/list) * @param {string | undefined} emptyMessage * @param {boolean} activatable * @param {boolean} multi * @param {boolean} wrapFocus * @param {string | null} itemRoles * @param {string | null} innerRole * @param {string | null} innerAriaLabel * @param {boolean} rootTabbable * @param {boolean} noninteractive * @param {Promise<never[]>} itemsReady */ declare const VwcList: (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; onSelected?: ((event: SyntheticEvent) => void) | undefined; onAction?: ((event: SyntheticEvent) => void) | undefined; onItemsUpdated?: ((event: SyntheticEvent) => void) | undefined; emptyMessage?: string | undefined; activatable?: boolean | undefined; multi?: boolean | undefined; wrapFocus?: boolean | undefined; itemRoles?: string | null | undefined; innerRole?: string | null | undefined; innerAriaLabel?: string | null | undefined; rootTabbable?: boolean | undefined; noninteractive?: boolean | undefined; itemsReady?: any; }) => JSX.Element; export default VwcList;