"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = getPadLength;

function _react() {
  const data = _interopRequireDefault(require("react"));

  _react = function _react() {
    return data;
  };

  return data;
}

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function getPadLength(obj) {
  let longest = 10;

  for (const name in obj) {
    if (name.length + 1 > longest) {
      longest = name.length + 1;
    }
  }

  return longest;
}