classix 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -31,6 +31,9 @@ cx(true ? "class1" : "class2");
31
31
  cx("class1", false ? "class2" : "class3");
32
32
  // => "class1 class3"
33
33
 
34
+ cx(...['class1', 'class2', 'class3']);
35
+ // => class1 class2 class3
36
+
34
37
  cx(
35
38
  "flex",
36
39
  isPrimary ? "bg-primary-100" : "bg-secondary-100",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classix",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A tiny utility for conditionally joining classNames.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",