I need to create a HOC that takes a component and returns a new one that takes flattened props (I\'am using flat to make it happen) and applies the unflattened props to the