import { timing } from '../variables';
export const transitionConcat = function (arrayOfProperties, transition) {
  let timingFn = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'linear';
  const transitionString = `${timing[transition]} ${timingFn}`;
  const cssString = `${arrayOfProperties.join(` ${transitionString},`)} ${transitionString}`;
  return cssString;
};