UNPKG

@vonage/vivid-react

Version:

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

20 lines (19 loc) 798 B
import React, { ReactNode, SyntheticEvent } from 'react'; import '@vonage/vwc-list'; import '@vonage/vwc-list/vwc-list-expansion-panel'; /** This component support expand-collapse list * @param {typeof VWCIcon | undefined} headerListItemIcon * @param {boolean} open */ declare const VwcListExpansionPanel: (props: { children?: ReactNode; slot?: string | undefined; id?: string | undefined; style?: React.CSSProperties | undefined; ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; onClosed?: ((event: SyntheticEvent) => void) | undefined; onOpened?: ((event: SyntheticEvent) => void) | undefined; headerListItemIcon?: any; open?: boolean | undefined; }) => JSX.Element; export default VwcListExpansionPanel;