var getPlacement = function getPlacement(placement) {
  return "".concat(placement, "-start");
};
var getPlacements = function getPlacements(placements) {
  var placeStartByDefault = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  if (!placements) {
    return;
  }
  var isArray = Array.isArray(placements);
  if (!isArray) {
    return placeStartByDefault ? getPlacement(placements) : placements;
  }
  return (placements || []).map(function (placement) {
    return getPlacement(placement);
  });
};

export { getPlacement, getPlacements };
