Skip to content

Instantly share code, notes, and snippets.

@ashimon83

ashimon83/bem.js Secret

Created December 4, 2020 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashimon83/14e3929276f32a429b74986a8751165a to your computer and use it in GitHub Desktop.
Save ashimon83/14e3929276f32a429b74986a8751165a to your computer and use it in GitHub Desktop.
blog202012 bem jsx
import classnames from 'classnames'
<div className={classnames('block__element', {['block__element--modirier']: isStrong})}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment