var capitalizeFirstLetter = function capitalizeFirstLetter(string, capitalizeOnlyFirst) {
  var word = capitalizeOnlyFirst ? string.toLowerCase() : string;
  return word.charAt(0).toUpperCase() + word.slice(1);
};
export default capitalizeFirstLetter;