primevue-mirror/components/lib/passthrough/index.d.ts

16 lines
488 B
TypeScript
Raw Normal View History

2023-08-10 22:44:47 +00:00
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;