feat(data-table): column width support string

This commit is contained in:
07akioni 2020-02-14 16:49:35 +08:00
parent 00cd8f5ca1
commit 1ce3d26c23

View File

@ -4,8 +4,8 @@ const strip = require('@rollup/plugin-strip')
const { terser } = require('rollup-plugin-terser')
const naiveSCSSVariable = require('./build/naiveSCSSVarPlugin')
function externalValidator (ids) {
return id => ids.some(identifier => id.startsWith(identifier))
function externalValidator (patterns) {
return id => patterns.some(pattern => id.startsWith(pattern))
}
module.exports = {