mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #4289 - Improve usePassThrough
method
This commit is contained in:
parent
e4651a9d0c
commit
4ecc86838f
100 changed files with 317 additions and 258 deletions
9
components/lib/passthrough/index.d.ts
vendored
9
components/lib/passthrough/index.d.ts
vendored
|
@ -1,15 +1,6 @@
|
|||
export interface CustomizerOptions {
|
||||
key?: string | undefined;
|
||||
to?: object | undefined;
|
||||
from?: object | undefined;
|
||||
value?: any;
|
||||
}
|
||||
|
||||
export interface usePassThroughOptions {
|
||||
merge?: boolean | undefined;
|
||||
useMergeProps?: boolean | undefined;
|
||||
ignoredKeysOnMerge?: string[] | undefined;
|
||||
customizer?: ((options?: CustomizerOptions) => any) | undefined;
|
||||
}
|
||||
|
||||
export declare function usePassThrough(pt1: object, pt2: object, options?: usePassThroughOptions): object;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue