UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

17 lines (16 loc) 721 B
import React from 'react'; import { IProgressBar } from './types/progressBar'; declare const ProgressBarBoundary: <V extends string | unknown>(props: IProgressBar<V>, ref: React.ForwardedRef<HTMLDivElement> | undefined | null) => JSX.Element; declare const ProgressBar: <V extends string | unknown>(props: React.PropsWithChildren<IProgressBar<V>> & { ref?: React.ForwardedRef<HTMLDivElement> | undefined | null; }) => ReturnType<typeof ProgressBarBoundary>; /** * @description * ProgressBar component is used to show a progress bar. * @param {React.PropsWithChildren<IProgressBar<V>>} props * @returns {JSX.Element} * @constructor * @example * <ProgressBar variant="progressBar" /> */ export { ProgressBar };