🏷️ ProgressBar compenent interface file added
This commit is contained in:
parent
dc5abf2824
commit
e4cb0aa5d5
30
src/components/progressbar/IVProgressBar.type.ts
Normal file
30
src/components/progressbar/IVProgressBar.type.ts
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
/**
|
||||||
|
* Interface representing the properties of a ProgressBar component.
|
||||||
|
*/
|
||||||
|
export default interface IVProgressBar {
|
||||||
|
/**
|
||||||
|
* Whether to display the numeric value of the progress.
|
||||||
|
* If true, the value will be shown alongside the progress bar.
|
||||||
|
* @default false
|
||||||
|
*/
|
||||||
|
showValue?: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The current progress value, typically between 0 and 100.
|
||||||
|
*/
|
||||||
|
value: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If true, the progress bar will be in indeterminate mode,
|
||||||
|
* indicating ongoing activity without a specific completion percentage.
|
||||||
|
* @default false
|
||||||
|
*/
|
||||||
|
indeterminate?: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If true, renders a smaller version of the progress bar.
|
||||||
|
* Useful for compact UI layouts.
|
||||||
|
* @default false
|
||||||
|
*/
|
||||||
|
small?: boolean;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user