Brak opisu
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.

AuthIcon.js 617B

12345678910111213141516
  1. import React from 'react'
  2. function AuthIcon({title,icon,isActive=false}) {
  3. return (
  4. <div className={`align-items-center d-flex justify-content-center text-center flex-column `}>
  5. <div style={{fontSize:'25px',width:'50px',height:'50px'}} className=' text-center'>
  6. <i className={`px-2 fa-solid w-100 align-items-center d-flex justify-content-center h-100 fa-${icon} ${isActive ? 'auth-select-icon bg-primary text-white':''}`}></i>
  7. </div>
  8. <div className='font-13'>
  9. {title}
  10. </div>
  11. </div>
  12. )
  13. }
  14. export default AuthIcon