🏷️ Added Hint component interface
This commit is contained in:
parent
4fcc65dc17
commit
a1c9f23840
28
src/components/hint/IVHint.type.ts
Normal file
28
src/components/hint/IVHint.type.ts
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user