1.0.0 • Published 5 years ago
@nuage/classname v1.0.0
classname
迷你版的 classname,只保留一个模式:
import { classn } from 'classname';
const a = classn({ box: true, 'select-box': true, 'sub-bux': false });
// a = 'box select-box'
迷你版的 classname,只保留一个模式:
import { classn } from 'classname';
const a = classn({ box: true, 'select-box': true, 'sub-bux': false });
// a = 'box select-box'