1.1.3 • Published 6 months ago

mergetailwindclasses v1.1.3

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

Intro

To marge two classname of tailwind classnames use mergeTailwindClasses package. It supports ReactJs(Also NextJs).

Installation

npm i mergetailwindclasses

Usage

// CommonJS
const mergetailwindclasses = require("mergetailwindclasses");

// ES6
// import mergetailwindclasses from "mergetailwindclasses";

function xyz() {
  console.log(
    mergetailwindclasses("   h-4 border-3 w-2", "  w-9   border-1  ")
  );
}

xyz();
Output is: h-4 border-1 w-9

Support

If any type of bug occurs, please raise an issue.

At https://github.com/ankitpanchaal/mergeTailwindClasses

Tech Stack

Node.js