@fortawesome/free-solid-svg-icons#faDog TypeScript Examples

The following examples show how to use @fortawesome/free-solid-svg-icons#faDog. 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: app.module.ts    From tzcolors with MIT License 6 votes vote down vote up
constructor(library: FaIconLibrary) {
    library.addIcons(fasStar, faCog, faDog, faWindowRestore)
    library.addIcons(
      farStar,
      farMoon,
      farSun,
      faSortAmountUp,
      faSortAmountDown,
      faSortAlphaUp,
      faSortAlphaDown
    )
  }
Example #2
Source File: side-navbar.component.tsx    From MyWay-client with MIT License 6 votes vote down vote up
export default function SideNavbar() {
  return (
    <nav className="bg-gray-100 my-5">
      <ul>
        <Link href="/" passHref>
          <li className="flex items-center justify-center cursor-pointer">
            <a className="text-2xl flex items-center justify-center">
              <FontAwesomeIcon icon={faPaw} className="inline w-6 mx-2" />{" "}
              <span style={{ fontFamily: "Pacifico" }}>MyWay</span>
            </a>
          </li>
        </Link>
        <Link href="/dogs" passHref>
          <li className="rounded cursor-pointer hover:bg-gray-50 h-8 flex items-center justify-center">
            <FontAwesomeIcon icon={faDog} className="w-5 mx-2" />
            הכלבים שלי
          </li>
        </Link>
        <Link href="/customers" passHref>
          <li className="rounded cursor-pointer hover:bg-gray-50 h-8 flex items-center justify-center">
            <FontAwesomeIcon icon={faUsers} className="w-5 mx-2" />
            הלקוחות שלי
          </li>
        </Link>
      </ul>
    </nav>
  );
}