Skip to content

Latest commit

 

History

History
 
 

classnames

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@bem-react/classnames · npm (scoped) npm bundle size (minified + gzip)

Tiny helper for merging CSS classes.

Install

npm i -S @bem-react/classnames

Usage

import { classnames } from '@bem-react/classnames'

classnames('Block', undefined, 'Block2', 'Block') // Block Block2