From 6d615227d54776d2d78da34cffd4cf22566eef64 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 21 Aug 2024 15:16:48 +0300 Subject: [PATCH] Update Button.d.ts --- packages/primevue/src/button/Button.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/primevue/src/button/Button.d.ts b/packages/primevue/src/button/Button.d.ts index 19809034f..3b309f6f1 100755 --- a/packages/primevue/src/button/Button.d.ts +++ b/packages/primevue/src/button/Button.d.ts @@ -10,7 +10,7 @@ import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '@primevue/core'; import type { ComponentHooks } from '@primevue/core/basecomponent'; import type { PassThroughOptions } from 'primevue/passthrough'; -import { ButtonHTMLAttributes, Component, VNode } from 'vue'; +import { ButtonHTMLAttributes, VNode } from 'vue'; export declare type ButtonPassThroughOptionType = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions) => ButtonPassThroughAttributes | string) | string | null | undefined; @@ -133,7 +133,7 @@ export interface ButtonProps extends ButtonHTMLAttributes { * Use to change the HTML tag of root element. * @defaultValue BUTTON */ - as?: string | Component | undefined; + as?: string | undefined; /** * When enabled, it changes the default rendered element for the one passed as a child element. * @defaultValue false