🏷️ button interface added

This commit is contained in:
Paul Valerie GOMA 2025-07-19 02:31:09 +02:00
parent 44a7c80afd
commit 3ad9a1762f

View File

@ -1,9 +1,8 @@
import type { ButtonHTMLAttributes } from "vue" import type { ButtonHTMLAttributes } from "vue"
/** /**
* Interface representing the properties of a single button component. * Interface representing the properties of a single button component.
*/ */
export default interface IButton { export default interface IVButton {
/** Whether the button is disabled */ /** Whether the button is disabled */
disabled?: boolean; disabled?: boolean;
@ -44,12 +43,12 @@ export default interface IButton {
/** /**
* Interface representing a group of buttons with layout and style options. * Interface representing a group of buttons with layout and style options.
*/ */
export default interface IButtonGroup { export default interface IVButtonGroup {
/** /**
* Array of buttons to display in the group. * Array of buttons to display in the group.
* Each button can include standard HTML button attributes. * Each button can include standard HTML button attributes.
*/ */
buttons?: (IButton & ButtonHTMLAttributes)[]; buttons?: (IVButton & ButtonHTMLAttributes)[];
/** Reverses the order of the buttons */ /** Reverses the order of the buttons */
reverse?: boolean; reverse?: boolean;