From 5ec057c34b2ee73b317a8dc67079991f528c4ca3 Mon Sep 17 00:00:00 2001 From: Paul Valerie GOMA Date: Mon, 21 Jul 2025 18:07:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20=20Added=20Group=20comp?= =?UTF-8?q?onen=20interface=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/group/IVGroup.type.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/components/group/IVGroup.type.ts diff --git a/src/components/group/IVGroup.type.ts b/src/components/group/IVGroup.type.ts new file mode 100644 index 0000000..f8446ba --- /dev/null +++ b/src/components/group/IVGroup.type.ts @@ -0,0 +1,19 @@ +/** + * Interface representing the props for the Group component. + */ +export default interface IVGroup { + /** + * Defines the visual style or status of the group. + * - `'default'`: Standard appearance. + * - `'error'`: Indicates an error state. + * - `'success'`: Indicates a successful state. + * - `undefined`: No specific type applied. + */ + type: 'default' | 'error' | 'success' | undefined; + + /** + * If true, disables the group component, making it non-interactive. + * Optional. + */ + disabled?: boolean; +}