mirror of
				https://gitlab.com/MrFry/qmining-page
				synced 2025-04-01 20:23:44 +02:00 
			
		
		
		
	Added comments to news items
This commit is contained in:
		@@ -3,11 +3,9 @@ import styles from './tooltip.module.css'
 | 
			
		||||
 | 
			
		||||
export default function Tooltip({ children, text, opened }) {
 | 
			
		||||
  return (
 | 
			
		||||
    <div>
 | 
			
		||||
      <div className={styles.tooltip}>
 | 
			
		||||
        {text()}
 | 
			
		||||
        {opened && <span className={styles.tooltiptext}>{children}</span>}
 | 
			
		||||
      </div>
 | 
			
		||||
    <div className={styles.tooltip}>
 | 
			
		||||
      {text()}
 | 
			
		||||
      {opened && <span className={styles.tooltiptext}>{children}</span>}
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user