diff --git a/src/components/progressbar/IVProgressBar.type.ts b/src/components/progressbar/IVProgressBar.type.ts new file mode 100644 index 0000000..67afc37 --- /dev/null +++ b/src/components/progressbar/IVProgressBar.type.ts @@ -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; +}