forked from Mirror/ollama4j
		
	Added CodeEmbed component to embed code snippets in markdowns
				
					
				
			This commit is contained in:
		
							
								
								
									
										9
									
								
								docs/src/components/Icon/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								docs/src/components/Icon/index.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
// @site/src/components/Icon.js
 | 
			
		||||
import React from 'react';
 | 
			
		||||
import { Icon as IconifyIcon } from '@iconify/react';
 | 
			
		||||
 | 
			
		||||
const IIcon = ({ icon, color, width = '24', height = '24' }) => (
 | 
			
		||||
  <IconifyIcon icon={icon} color={color} width={width} height={height} />
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
export default IIcon;
 | 
			
		||||
		Reference in New Issue
	
	Block a user