0.1.1 • Published 9 years ago

react-bem-mixin v0.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
9 years ago

React Bem Mixin

just a simple bem mix to quick add bem classes in a component.

Build Status Dependencies

Usage

See example

  • $$block

covert from this.constructor.displayName

  • $bemx(String:block[,String:elem, Object:mods, Array:mix])

mix item is

{
  block: 'String'
  elem: 'String'
  mods: 'Object'
}

block and elem must use together

  • $emx([String:elem, Object:mods, Array:mix])

sort for $bemx, use $$block as argument block