You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					24 lines
				
				775 B
			
		
		
			
		
	
	
					24 lines
				
				775 B
			| 
											3 years ago
										 | // LICENSE is MIT
 | ||
|  | //
 | ||
|  | // Copyright (c) 2018
 | ||
|  | //   Dave Keen <http://www.keendevelopment.ch>
 | ||
|  | //   Adi Dahiya <https://github.com/adidahiya>
 | ||
|  | //   Jason Killian <https://github.com/JKillian>
 | ||
|  | //   Sean Kelley <https://github.com/seansfkelley>
 | ||
|  | //   Michal Adamczyk <https://github.com/mradamczyk>
 | ||
|  | //   Marvin Hagemeister <https://github.com/marvinhagemeister>
 | ||
|  | 
 | ||
|  | declare namespace classNames { | ||
|  |   type Value = string | number | boolean | undefined | null; | ||
|  |   type Mapping = Record<string, unknown>; | ||
|  |   interface ArgumentArray extends Array<Argument> {} | ||
|  |   type Argument = Value | Mapping | ArgumentArray; | ||
|  | } | ||
|  | 
 | ||
|  | /** | ||
|  |  * A simple JavaScript utility for conditionally joining classNames together. | ||
|  |  */ | ||
|  | declare function classNames(...args: classNames.ArgumentArray): string; | ||
|  | 
 | ||
|  | export = classNames; |