bem-react-helper
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -43,3 +43,3 @@ 'use strict'; | ||
function camelToKebab(str) { | ||
return str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); | ||
return str.toString().replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); | ||
} |
{ | ||
"name": "bem-react-helper", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Allows you to easily manage BEM mods & mixes in React", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,3 +27,3 @@ # BEM React Helper | ||
render() { | ||
const classes = ['block]; | ||
const classes = ['block']; | ||
@@ -30,0 +30,0 @@ if (this.props.visible) classes.push('block_visible'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6037
5