UNPKG

e-lado

Version:

[![CircleCI](https://circleci.com/gh/sharetribe/sharetribe/tree/master.svg?style=svg)](https://circleci.com/gh/sharetribe/sharetribe/tree/master) [![Dependency Status](https://gemnasium.com/sharetribe/sharetribe.png)](https://gemnasium.com/sharetribe/shar

23 lines (19 loc) 477 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); /** * @typedef {Object} drawRow~border * @property {string} bodyLeft * @property {string} bodyRight * @property {string} bodyJoin */ /** * @param {number[]} columns * @param {drawRow~border} border * @returns {string} */ exports.default = (columns, border) => { return border.bodyLeft + columns.join(border.bodyJoin) + border.bodyRight + '\n'; }; module.exports = exports['default'];