🏷️ Added Hint component interface

This commit is contained in:
Paul Valerie GOMA 2025-07-21 21:43:23 +02:00
parent 4fcc65dc17
commit a1c9f23840

View File

@ -0,0 +1,28 @@
/**
* Interface representing the properties of the Hint component.
*/
export default interface IVHint {
/**
* The title or main message displayed in the hint.
*/
title: string;
/**
* Determines whether an icon should be displayed alongside the hint.
* Optional. Defaults to false if not provided.
*/
icon?: boolean;
/**
* Specifies the type of hint to display.
* Can be one of the following: 'info', 'warning', 'alert', 'success', 'active', or an empty string.
* Optional.
*/
type?: 'info' | 'warning' | 'alert' | 'success' | 'active' | '';
/**
* Indicates whether the hint is disabled.
* Optional. When true, the hint may appear inactive or be hidden.
*/
disabled?: boolean;
}