import _ from 'lodash';
import React from 'react';

export default (mockTagName, props = []) => () =>
  (<div>{`${mockTagName} ${JSON.stringify(_.pick(this.props, props))}`}</div>);

@@ -90,16 +90,30 @@
 %5B%5D) =%3E (
+componentProps
 ) =%3E%0A  (
@@ -162,14 +162,18 @@
 ick(
-this.p
+componentP
 rops

Update mocking component