15 lines
323 B
JavaScript
15 lines
323 B
JavaScript
|
'use strict';
|
||
|
|
||
|
exports.__esModule = true;
|
||
|
|
||
|
var _postcss = require('postcss');
|
||
|
|
||
|
exports.default = function (v) {
|
||
|
var s = typeof v === 'string' ? _postcss.list.space(v) : v;
|
||
|
return [s[0], // top
|
||
|
s[1] || s[0], // right
|
||
|
s[2] || s[0], // bottom
|
||
|
s[3] || s[1] || s[0]];
|
||
|
};
|
||
|
|
||
|
module.exports = exports['default'];
|