@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
24 lines (23 loc) • 812 B
TypeScript
import React, { ReactNode, SyntheticEvent } from 'react';
import '@vonage/vwc-card';
/**
* @param {string | undefined} heading
* @param {string | undefined} subtitle
* @param {string | null} icon
* @param {string | undefined} text
* @param {string} elevation
*/
declare const VwcCard: (props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
onClick?: ((event: SyntheticEvent) => void) | undefined;
heading?: string | undefined;
subtitle?: string | undefined;
icon?: string | null | undefined;
text?: string | undefined;
elevation?: string | undefined;
}) => JSX.Element;
export default VwcCard;