Update Button.d.ts

pull/6161/head^2
tugcekucukoglu 2024-08-21 15:16:48 +03:00
parent 5d1029e44f
commit 6d615227d5
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '@primevue/core'; import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '@primevue/core';
import type { ComponentHooks } from '@primevue/core/basecomponent'; import type { ComponentHooks } from '@primevue/core/basecomponent';
import type { PassThroughOptions } from 'primevue/passthrough'; import type { PassThroughOptions } from 'primevue/passthrough';
import { ButtonHTMLAttributes, Component, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
export declare type ButtonPassThroughOptionType<T = any> = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions<T>) => ButtonPassThroughAttributes | string) | string | null | undefined; export declare type ButtonPassThroughOptionType<T = any> = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions<T>) => ButtonPassThroughAttributes | string) | string | null | undefined;
@ -133,7 +133,7 @@ export interface ButtonProps extends ButtonHTMLAttributes {
* Use to change the HTML tag of root element. * Use to change the HTML tag of root element.
* @defaultValue BUTTON * @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. * When enabled, it changes the default rendered element for the one passed as a child element.
* @defaultValue false * @defaultValue false