Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 554 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 554 Bytes

@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