lib: improve types/checks
This commit is contained in:
		
							parent
							
								
									10c1ed7ecb
								
							
						
					
					
						commit
						a30e2a0bc1
					
				
					 5 changed files with 87 additions and 21 deletions
				
			
		
							
								
								
									
										16
									
								
								outputs/lib/icon/utils.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								outputs/lib/icon/utils.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| { | ||||
|   lib, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib) concatStrings; | ||||
| 
 | ||||
|   mkIcon = { | ||||
|     svg, | ||||
|     colors, {}, | ||||
|     height ? 24, | ||||
|     width ? 24 | ||||
|   }: let | ||||
|      | ||||
|   in  | ||||
|   in | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue