Releases: marcohamersma/react-bem-helper
Releases · marcohamersma/react-bem-helper
v1.4.0
- Adds option for output as a string instead of the default
{ className: 'block__element' }
- Allows setting and sharing defaults across a project
Thanks to @AlexanderOtavka for his work on these features :)
Typescript types
- Now, when people import the package in TypeScript, full typechecking will be enabled. Tnx @AlexanderOtavka
v1.2.0
v1.1.0
Adds an alternate syntax that allows supplying element, modifier and extra classes using objects.
v1.0.0
Besides upping the version to v1.0.0 to put it in line with conventions, this release removes the default prefix g-
for components. This can still be set by supplying an options object with the prefix
property.