files-ui-react-19
Version:
UI components for file uploads with React js - with React 19 support
11 lines (10 loc) • 514 B
TypeScript
import { OverridableComponentProps } from "./OverridableComponentsProps";
/**
* Merge props that come form user and those ones that are by default
* if incommingProps is null this returns the default props value
*
* @param incommingProps prop that comes from props attributoo of a React Node
* @param defaultProps default prop defined for that React Node
* @returns merged props
*/
export declare function mergeProps<T extends OverridableComponentProps>(incommingProps: T | undefined, defaultProps: T): T;