This transformer will add a className attribute to JSX elements set to the property named the same as the component from the styles object if a styles object exists in scope.
For example
will be transformed to if styles exist in scope.This transformer will add a className attribute to JSX elements set to the property named the same as the component from the styles object if a styles object exists in scope.
For example
will be transformed to if styles exist in scope.npm i babel-plugin-jsx-tagclass
0
0.1.4
ISC