UNPKG

svg-react-loader

Version:

A Webpack Loader to turn SVGs into React Components

11 lines (9 loc) 212 B
var R = require('ramda'); module.exports = R.curry(function logging (opts, value) { console.log( '%s %j => %j', this.isLeaf ? 'leafNode' : 'node', this.path, value ); });