@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
35 lines (34 loc) • 1.64 kB
TypeScript
import React, { ReactNode } from 'react';
/** VwcProgressRing
* For more info on this Vivid element please visit https://vivid.deno.dev/components/progress-ring
* @param {ProgressRingConnotation | undefined} connotation **attribute** `connotation`
* @param {-6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined} size **attribute** `size`
* @param {'delegate'} _vividAriaBehaviour
* @param {number | null} value - The value of the progress **attribute** `value`
* @param {number} min - The minimum value **attribute** `min`
* @param {number} max - The maximum value **attribute** `max`
* @param {boolean} paused - Indicates the progress is paused **attribute** `paused`
* @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 VwcProgressRing: {
(props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
connotation?: any;
size?: any;
_vividAriaBehaviour?: any;
value?: number | undefined;
min?: number | undefined;
max?: number | undefined;
paused?: boolean | undefined;
VIVID_VERSION?: string | undefined;
componentName?: string | undefined;
}): JSX.Element;
displayName: string;
};
export default VwcProgressRing;