0.1.0 • Published 6 months ago

@nhui/cn v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Cn

Util for merging tailwind classes with clsx and tailwind-merge.

Install

$ npm install --save @nhui/cn

Usage

  import cn from "@nhui/cn"
  // or
  import {cn} from "@nhui/cn"

  cn("bg-zinc-50 text-zinc-100", true && "bg-zinc-100", false && "text-zinc-50")
  //=> "text-zinc-100 bg-zinc-100"
0.1.0

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago