Skip to content

classNames

classnames 的es6实现版

Demo

tsx
import {
classNames
} from '@vill-v/broswer'
const
App
= () => {
return <div
class
={
classNames
('foor', ['bar'], {
test
: true})}/>
}

Released under the MIT License.