🏷️ Added Group componen interface file
This commit is contained in:
parent
3132fe3ab8
commit
5ec057c34b
19
src/components/group/IVGroup.type.ts
Normal file
19
src/components/group/IVGroup.type.ts
Normal file
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user