@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
29 lines (28 loc) • 740 B
TypeScript
import { LinearProgressProps } from '@mui/material/LinearProgress';
import React from 'react';
export interface ProgressBarProps extends LinearProgressProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* The progress percentage value
*/
value: number;
/**
* The progress bar loading message
* @default null
*/
loadingMessage?: React.ReactNode;
/**
* Hides the bar, rendering just the massage and percentage
* @default false
*/
hideBar?: boolean;
/**
* Any other properties
*/
[p: string]: any;
}
export default function ProgressBar(props: ProgressBarProps): JSX.Element;