diff --git a/src/components/hint/IVHint.type.ts b/src/components/hint/IVHint.type.ts new file mode 100644 index 0000000..1cfd440 --- /dev/null +++ b/src/components/hint/IVHint.type.ts @@ -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; +}