@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
37 lines (36 loc) • 1.79 kB
TypeScript
import React, { ReactNode } from 'react';
/** VwcProgress
* For more info on this Vivid element please visit https://vivid.deno.dev/components/progress
* @param {ProgressShape | undefined} shape - Indicates the progress' shape. **attribute** `shape`
* @param {ProgressConnotation | undefined} connotation - Indicates the progress' connotation. **attribute** `connotation`
* @param {boolean} reverse - Indicates the progress' reverse status. **attribute** `reverse`
* @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 VwcProgress: {
(props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
shape?: any;
connotation?: any;
reverse?: boolean | undefined;
_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 VwcProgress;