mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5506 - Add dt
props to all components and directives
This commit is contained in:
parent
1bf6606457
commit
f496c2669f
102 changed files with 507 additions and 101 deletions
6
components/lib/button/Button.d.ts
vendored
6
components/lib/button/Button.d.ts
vendored
|
@ -10,7 +10,7 @@
|
|||
import { ButtonHTMLAttributes, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, GlobalComponentConstructor, PassThrough, HintedString } from '../ts-helpers';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ButtonPassThroughOptionType<T = any> = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions<T>) => ButtonPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -167,6 +167,10 @@ export interface ButtonProps extends ButtonHTMLAttributes {
|
|||
* @defaultValue false
|
||||
*/
|
||||
plain?: boolean | undefined;
|
||||
/**
|
||||
* It generates scoped CSS variables using design tokens for the component.
|
||||
*/
|
||||
dt?: DesignToken<any>;
|
||||
/**
|
||||
* Used to pass attributes to DOM elements inside the component.
|
||||
* @type {ButtonPassThroughOptions}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue