We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c28fd52 commit 91ea661Copy full SHA for 91ea661
src/higher_order_components/higher_order_component.js
@@ -7,7 +7,7 @@ import delegatesPublicFunctions from './delegates_public_functions.js'
7
* for accessing the child component and the options argument to the higher
8
* order function.
9
*/
10
-const HigherOrderComponent = () => hocClass => opts => ComponentClass =>
+const hoc = () => hocClass => opts => ComponentClass =>
11
@delegatesPublicFunctions(opts)
12
class HigherOrderComponent extends hocClass {
13
static originalClass = (
@@ -23,4 +23,4 @@ const HigherOrderComponent = () => hocClass => opts => ComponentClass =>
23
}
24
25
26
-export default HigherOrderComponent
+export default hoc
0 commit comments