From e4cb0aa5d5c2842071c8fdf1382cc10ac280fb1e Mon Sep 17 00:00:00 2001 From: Paul Valerie GOMA Date: Wed, 23 Jul 2025 18:43:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20=20ProgressBar=20compen?= =?UTF-8?q?ent=20interface=20file=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../progressbar/IVProgressBar.type.ts | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/components/progressbar/IVProgressBar.type.ts 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; +}