## Modules * [transform-props-with](#module_transform-props-with) * [~default([transformations])](#module_transform-props-with..default) ⇒ [HigherOrderComponent](#HigherOrderComponent) ## Typedefs * [Props](#Props) : object * [SimpleTransformation](#SimpleTransformation) ⇒ [Props](#Props) * [HigherOrderComponent](#HigherOrderComponent) ⇒ React.Component * [Transformation](#Transformation) : [SimpleTransformation](#SimpleTransformation) | object ## transform-props-with ### transform-props-with~default([transformations]) ⇒ [HigherOrderComponent](#HigherOrderComponent) Higher-order component generator. Will change props with passed transformaton(s). Array of transformatons is evaluated left to right. **Kind**: inner method of [transform-props-with](#module_transform-props-with) | Param | Type | Default | | --- | --- | --- | | [transformations] | [Transformation](#Transformation) | [Array.<Transformation>](#Transformation) | [] | ## Props : object A plain object. Should not be mutated. **Kind**: global typedef ## SimpleTransformation ⇒ [Props](#Props) Middleware function for changing props. A function which takes Props as input and returns new Props. **Kind**: global typedef | Param | Type | | --- | --- | | oldProps | [Props](#Props) | ## HigherOrderComponent ⇒ React.Component Higher-order React Component. A function that enhances passed component. **Kind**: global typedef | Param | Type | | --- | --- | | BaseComponent | React.Component | ## Transformation : [SimpleTransformation](#SimpleTransformation) | object When a plane object is passed it will be used to extend props (with override). **Kind**: global typedef