npm install astro-classname
yarn add astro-classname
You can set anything to the classname，but the value that was associated with a given key is falsy， it will not be effective。Object has the highest priority
Before you use，you should require or import the package
You can also add classname to dom directly
; // tom bob; // tom bob; // tom; // tom-bob; // bob; // bob// tom lili 0 1
Usage with react!
Usage with jquery!
You can use all the methods in anywhere