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