@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
27 lines (26 loc) • 1.23 kB
TypeScript
import React, { ReactNode } from 'react';
/** VwcElevation
* For more info on this Vivid element please visit https://vivid.deno.dev/components/elevation
* @param {0 | 2 | 4 | 8 | 12 | 16 | 24 | undefined} dp - Indicates the elevation's dp. **attribute** `dp`
* @param {boolean | undefined} noShadow - toggles the elevation's shadow. **attribute** `no-shadow`
* @param {boolean | undefined} notRelative **attribute** `not-relative`
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
* @param {string} componentName - Core component name, without prefix
*/
declare const VwcElevation: {
(props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
dp?: any;
noShadow?: any;
notRelative?: any;
VIVID_VERSION?: string | undefined;
componentName?: string | undefined;
}): JSX.Element;
displayName: string;
};
export default VwcElevation;