@arolariu/components
Version:
A collection of reusable components for React applications, built as ESM & CJS modules with tree shake, minify and bundler optimizations enabled, for the lowest bundle size (import cost)!
1 lines • 602 B
Source Map (JSON)
{"version":3,"file":"lib\\utils.cjs","sources":["webpack://@arolariu/components/./src/lib/utils.ts"],"sourcesContent":["import { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\n/**\n * Helper function that merges tailwindcss\n * class names in the given input array.\n */\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"names":["cn","inputs","twMerge","clsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOO,SAASA,GAAG,GAAGC,MAAoB;IACxC,OAAOC,AAAAA,IAAAA,wCAAAA,OAAAA,AAAAA,EAAQC,AAAAA,IAAAA,8BAAAA,IAAAA,AAAAA,EAAKF;AACtB"}