UNPKG

@vonage/vivid-react

Version:

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

43 lines (42 loc) 1.74 kB
import React, { ReactNode, SyntheticEvent } from 'react'; import '@vonage/vwc-list'; import '@vonage/vwc-list/vwc-list-item'; /** This component is an extension of [<mwc-list-item>](https://github.com/material-components/material-components-web-components/tree/master/packages/list) * @param {ListItemConnotation | undefined} connotation attribute: &lt;VwcListItem connotation /> * @param {Shape.Rounded | undefined} shape attribute: &lt;VwcListItem shape /> * @param {string} value * @param {string | null} group * @param {number} tabindex * @param {boolean} disabled * @param {boolean} twoline * @param {boolean} activated * @param {GraphicType} graphic * @param {boolean} multipleGraphics * @param {boolean} hasMeta * @param {boolean} noninteractive * @param {boolean} selected */ declare const VwcListItem: (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; onRequestSelected?: ((event: SyntheticEvent) => void) | undefined; onListItemRendered?: ((event: SyntheticEvent) => void) | undefined; onClick?: ((event: SyntheticEvent) => void) | undefined; connotation?: any; shape?: any; value?: string | undefined; group?: string | null | undefined; tabindex?: number | undefined; disabled?: boolean | undefined; twoline?: boolean | undefined; activated?: boolean | undefined; graphic?: any; multipleGraphics?: boolean | undefined; hasMeta?: boolean | undefined; noninteractive?: boolean | undefined; selected?: boolean | undefined; }) => JSX.Element; export default VwcListItem;