From 71fef9c5ed16a89b71a5be74c72bc3e95ac7b0ee Mon Sep 17 00:00:00 2001 From: Creo-KR Date: Fri, 16 Aug 2024 16:35:42 +0900 Subject: [PATCH] Update BaseButton.vue make that "as" of Button Props can be assigned Component Object. --- packages/primevue/src/button/BaseButton.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/button/BaseButton.vue b/packages/primevue/src/button/BaseButton.vue index 3ae70885c..407da43d0 100644 --- a/packages/primevue/src/button/BaseButton.vue +++ b/packages/primevue/src/button/BaseButton.vue @@ -43,7 +43,7 @@ export default { default: undefined }, as: { - type: String, + type: [String, Object], default: 'BUTTON' }, asChild: {