Skip to content

morlay/react-bem-mixin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Bem Mixin

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

Build Status Dependencies

Usage

See example

this.$$block

covert from this.constructor.displayName

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

mix item is

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

block and elem must use together

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

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published