_getTickLabelProps() {
    const {
      orientation,
      tickLabelAngle,
      tickSize,
      tickSizeOuter = tickSize,
      tickPadding = tickSize
    } = this.props;

    // Assign the text orientation inside the label of the tick mark.
    let textAnchor;
    if (orientation === LEFT || (orientation === BOTTOM && tickLabelAngle)) {
      textAnchor = 'end';
    } else if (
      orientation === RIGHT ||
      (orientation === TOP && tickLabelAngle)
    ) {
      textAnchor = 'start';
    } else {
      textAnchor = 'middle';
    }

    // The label's position is translated to the given padding and then the
    // label is rotated to the given angle.
    const isVertical = this._isAxisVertical();
    const wrap = this._areTicksWrapped() ? -1 : 1;

    const labelOffset = wrap * (tickSizeOuter + tickPadding);
    const transform =
      (isVertical
        ? `translate(${labelOffset}, 0)`
        : `translate(0, ${labelOffset})`) +
      (tickLabelAngle ? ` rotate(${tickLabelAngle})` : '');

    // Set the vertical offset of the label according to the position of
    // the axis.
    const dy =
      orientation === TOP || tickLabelAngle
        ? '0'
        : orientation === BOTTOM
        ? '0.72em'
        : '0.32em';

    return {
      textAnchor,
      dy,
      transform
    };
  }
Get attributes for the label of the tick.
@returns {Object} Object with properties.
@private