mirror of
				https://github.com/r-freeman/portfolio.git
				synced 2025-11-04 06:31:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			254 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			254 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import {ReactNode} from 'react'
 | 
						|
import clsx from 'clsx'
 | 
						|
 | 
						|
export function Prose({children, className}: { children: ReactNode, className: string }) {
 | 
						|
    return (
 | 
						|
        <div className={clsx(className, 'prose dark:prose-invert')}>{children}</div>
 | 
						|
    )
 | 
						|
}
 |