🏷️ button interface added
This commit is contained in:
parent
44a7c80afd
commit
3ad9a1762f
|
@ -1,9 +1,8 @@
|
|||
import type { ButtonHTMLAttributes } from "vue"
|
||||
|
||||
/**
|
||||
* Interface representing the properties of a single button component.
|
||||
*/
|
||||
export default interface IButton {
|
||||
export default interface IVButton {
|
||||
/** Whether the button is disabled */
|
||||
disabled?: boolean;
|
||||
|
||||
|
@ -44,12 +43,12 @@ export default interface IButton {
|
|||
/**
|
||||
* 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.
|
||||
* Each button can include standard HTML button attributes.
|
||||
*/
|
||||
buttons?: (IButton & ButtonHTMLAttributes)[];
|
||||
buttons?: (IVButton & ButtonHTMLAttributes)[];
|
||||
|
||||
/** Reverses the order of the buttons */
|
||||
reverse?: boolean;
|
||||
|
|
Loading…
Reference in New Issue
Block a user