Skip to content

Commit

Permalink
fix: Add disabled state to button interface
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Jun 8, 2024
1 parent 670e4f6 commit 110ddce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/components/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ export interface IDialogButton {
* @see https://nextcloud-vue-components.netlify.app/#/Components/NcButton
*/
type?: 'primary' | 'secondary' | 'error' | 'warning' | 'success'

/**
* Disabled state of the button
* @default false
*/
disabled?: boolean
}

/**
Expand Down

0 comments on commit 110ddce

Please sign in to comment.