@jakxz/tw-classnames
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

@jakxz/tw-classnames

This is a convenience wrapper around tailwind-merge and clsx.

Usage

import { classNames } from "@jakxz/tw-classnames";
// OR
import howeveryouwannanameit from "@jakxz/tw-classnames";

You can also use twMerge directly as needed:

import { twMerge } from "@jakxz/tw-classnames";

Contributing & Releasing

  1. Fork it ( https://github.com/jakxz/tw-classnames/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature'), do not modify the version in package.json
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

The PR will be squash merged following the conventional commits spec.

We use npx standard-version -a to generate the CHANGELOG and version update according to the commits.

Readme

Keywords

none

Package Sidebar

Install

npm i @jakxz/tw-classnames

Weekly Downloads

3,862

Version

1.2.3

License

MIT

Unpacked Size

3.15 kB

Total Files

5

Last publish

Collaborators

  • jakxz