react-icons/ai#AiFillEdit TypeScript Examples

The following examples show how to use react-icons/ai#AiFillEdit. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Finished.tsx    From vitty-extension with GNU General Public License v3.0 6 votes vote down vote up
Finished: React.FC<any> = ({ setStatus, name, userId, db }) => {
  const handleClick = (): void => {
    deleteTimetable(userId, db)
    setStatus('upload')
  }

  return (
    <div className='fin-wrapper'>
      <h1>You're all set{name !== '' && name !== undefined && name !== null ? `, ${name?.split(' ')[0]}` : ''}!</h1>
      <div className='fin'>
        <div className='fin-hero'>
          <img src={Phone} alt='Download Vitty!' />
        </div>
        <div className='fin-interact'>
          <div className='fin-links'>
            <p>Make sure you never miss another class!</p>
            <a href='https://play.google.com/store/apps/details?id=com.dscvit.vitty'><DiAndroid /> Get it on the Play Store</a>
            <a className='disabled' href='/'><FaAppStoreIos /> Get it on the App Store (coming soon)</a>
            <a href='https://chrome.google.com/webstore/detail/vitty/eeohmkjefmpmddidkjadpifbfcplkifh'><FaChrome /> Get it on the Chrome Web Store</a>
          </div>
          <button className='fin-edit' onClick={handleClick}><AiFillEdit />Edit Timetable</button>
        </div>
      </div>
    </div>
  )
}