first commit
This commit is contained in:
13
node_modules/tailwind-merge/dist/lib/tw-join.d.ts
generated
vendored
Normal file
13
node_modules/tailwind-merge/dist/lib/tw-join.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
|
||||
*
|
||||
* Specifically:
|
||||
* - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
|
||||
* - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
|
||||
*
|
||||
* Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
||||
*/
|
||||
export type ClassNameValue = ClassNameArray | string | null | undefined | 0 | false;
|
||||
type ClassNameArray = ClassNameValue[];
|
||||
export declare function twJoin(...classLists: ClassNameValue[]): string;
|
||||
export {};
|
||||
Reference in New Issue
Block a user