UNPKG

react-img-editor-pro

Version:

图片编辑器(微信截图编辑 PRO 版),来自 react-img-editor

3 lines (2 loc) 394 B
import React from 'react'; export default function <CP>(Context: React.Context<CP>, shouldRender?: (context: CP) => boolean): <P extends CP>(WrappedComponent: React.ComponentClass<P, any>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Pick<React.PropsWithChildren<P>, Exclude<keyof P, keyof CP> | Exclude<"children", keyof CP>>> & React.RefAttributes<React.Component<P, any, any>>>;