/* @flow */

var Prefixer = require('../prefixer');

var prefixPlugin = function ({component, style}) {
  var newStyle = Prefixer.getPrefixedStyle(component, style);
  return {style: newStyle};
};

module.exports = prefixPlugin;

/* @flow */

var Prefixer = require('../prefixer');

var prefixPlugin = function ({componentName, style}) {
  var newStyle = Prefixer.getPrefixedStyle(componentName, style);
  return {style: newStyle};
};

module.exports = prefixPlugin;

Fix pulling componentName param in prefixer plugin
Fix pulling componentName param in prefixer plugin
