feat: add cx function and refactor cn to use tailwind-merge (#278) #287
Annotations
2 warnings
|
pnpm (lint):
src/__tests__/cn.test.ts#L27
Replace `cnLite(["px-4",·["py-2",·["bg-blue-500",·["rounded-lg",·false,·["shadow-md"]]]]])()).toBe(⏎······"px-4·py-2·bg-blue-500·rounded-lg·shadow-md",⏎····` with `⏎······cnLite(["px-4",·["py-2",·["bg-blue-500",·["rounded-lg",·false,·["shadow-md"]]]]])(),⏎····).toBe("px-4·py-2·bg-blue-500·rounded-lg·shadow-md"`
|
|
pnpm (lint):
benchmark.js#L399
Replace `⏎··"text-xl",⏎··false·&&·"font-bold",⏎··"text-center",⏎··undefined,⏎··null,⏎··0,⏎··"",⏎··"px-4",⏎` with `"text-xl",·false·&&·"font-bold",·"text-center",·undefined,·null,·0,·"",·"px-4"`
|