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; +}