Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
let textnode = getComponentChildren(this.children, item => item.nodeType === NodeType.TEXT);
copyConfig.text = textnode.reduce((total, cur) => !/^\n\s*$/g.test(cur.content) ? (total + cur.content) : total, '');
item => item.nodeType === NodeType.TEXT);
copyConfig.text = textnode.reduce(
const tabPanels = _.filter(slotChildren, n => n.nodeType !== NodeType.TEXT);
return tabPanels;