From 110ddcefaf4be0260ed8b837d7fef32e760cb447 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sat, 8 Jun 2024 00:53:52 +0200 Subject: [PATCH] fix: Add `disabled` state to button interface Signed-off-by: Ferdinand Thiessen --- lib/components/types.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/components/types.ts b/lib/components/types.ts index a46c480f..c430ce04 100644 --- a/lib/components/types.ts +++ b/lib/components/types.ts @@ -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 } /**