UNPKG

@vonage/vivid-react

Version:

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

35 lines (34 loc) 1.61 kB
import React, { ReactNode, SyntheticEvent } from 'react'; import '@vonage/vwc-expansion-panel'; /** * @param {string} header attribute: &lt;VwcExpansionPanel header /> * @param {string} heading - The heading of the expanded panel attribute: &lt;VwcExpansionPanel heading /> * @param {string} icon attribute: &lt;VwcExpansionPanel icon /> * @param {string} indicatorIconSet attribute: &lt;VwcExpansionPanel indicatorIconSet /> * @param {string} meta attribute: &lt;VwcExpansionPanel meta /> * @param {boolean} dense attribute: &lt;VwcExpansionPanel dense /> * @param {boolean} leadingToggle attribute: &lt;VwcExpansionPanel leadingToggle /> * @param {boolean} noRipple attribute: &lt;VwcExpansionPanel noRipple /> * @param {Promise<Ripple>} ripple * @param {boolean} open attribute: &lt;VwcExpansionPanel open /> */ declare const VwcExpansionPanel: (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; header?: string | undefined; heading?: string | undefined; icon?: string | undefined; indicatorIconSet?: string | undefined; meta?: string | undefined; dense?: boolean | undefined; leadingToggle?: boolean | undefined; noRipple?: boolean | undefined; ripple?: any; open?: boolean | undefined; }) => JSX.Element; export default VwcExpansionPanel;