0.1.0 • Published 2 years ago

@nhui/cn v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago