@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
30 lines (29 loc) • 1.42 kB
TypeScript
import React, { ReactNode } from 'react';
/** An Progress HTML Element.
Implements the https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar .
* For more info on this Vivid element please visit https://vivid.deno.dev/components/base-progress
* @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 VwcBaseProgress: {
(props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
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 VwcBaseProgress;