<NME> PinLabel.jsx
<BEF> import React from 'react';
import PropTypes from 'prop-types';

import { PINLABEL_WIDTH, getPinLabelProps } from '../nodeLayout';

const PinLabel = ({ label, direction, position }) => {
  const textProps = getPinLabelProps(direction, position);

  return label ? (
    <foreignObject {...textProps}>
      <div
        className="PinLabel"
        xmlns="http://www.w3.org/1999/xhtml"
        style={{ width: PINLABEL_WIDTH }}
      >
        {label}
      </div>
    </foreignObject>
  ) : null;
};

PinLabel.propTypes = {
  label: PropTypes.string,
  direction: PropTypes.string.isRequired,
  position: PropTypes.object.isRequired,
};
  }

  render() {
    return this.props.pinLabel ? (
      <text
        className={`PinLabel ${this.isInput() ? 'input' : 'output'}`}
        key={`pinText_${this.props.keyName}`}
        {...this.getTextProps()}
      >
        {this.props.pinLabel}
      </text>
    ) : null;
  }

Pin.propTypes = {
  keyName: React.PropTypes.string.isRequired,
  pinLabel: React.PropTypes.string,
  direction: React.PropTypes.string.isRequired,
  position: React.PropTypes.object.isRequired,
};

<MSG> fix(xod-client): PinLabel shows `label` property, not `pinLabel`

<DFF> @@ -27,13 +27,13 @@ export default class Pin extends React.Component {
   }
 
   render() {
-    return this.props.pinLabel ? (
+    return this.props.label ? (
       <text
         className={`PinLabel ${this.isInput() ? 'input' : 'output'}`}
         key={`pinText_${this.props.keyName}`}
         {...this.getTextProps()}
       >
-        {this.props.pinLabel}
+        {this.props.label}
       </text>
     ) : null;
   }
@@ -41,7 +41,7 @@ export default class Pin extends React.Component {
 
 Pin.propTypes = {
   keyName: React.PropTypes.string.isRequired,
-  pinLabel: React.PropTypes.string,
+  label: React.PropTypes.string,
   direction: React.PropTypes.string.isRequired,
   position: React.PropTypes.object.isRequired,
 };

{'addition_count': 3, 'commit_subject': 'fix(xod-client): PinLabel shows `label` property, not `pinLabel`', 'deletion_count': 3, 'file_extension': '.jsx', 'lang': 'jsx', 'license': 'agpl-3.0', 'repo_name': 'xodio/xod'}