@wordpress/data
Version:
Data module for WordPress.
11 lines • 420 B
TypeScript
export default withRegistry;
/**
* Higher-order component which renders the original component with the current
* registry context passed as its `registry` prop.
*
* @param {WPComponent} OriginalComponent Original component.
*
* @return {WPComponent} Enhanced component.
*/
declare const withRegistry: (Inner: import("react").ComponentType<any>) => (props: any) => JSX.Element;
//# sourceMappingURL=index.d.ts.map