react-icons/fa#FaCubes JavaScript Examples

The following examples show how to use react-icons/fa#FaCubes. 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: index.js    From haskell.foundation with MIT License 5 votes vote down vote up
icons = {
  heart: <FaHeart />,
  lock: <FaLockOpen />,
  users: <FaUserFriends />,
  cubes: <FaCubes />,
  user: <FaUser />
}
Example #2
Source File: HomeInfo.js    From twmwallet with MIT License 5 votes vote down vote up
export default function HomeInfo(props) {
  return (
    <div className="home-info-box p-4 mt-4">
      <h4 className="d-flex align-content-center">
        <FaCubes className="mr-3" />
        {props.walletHeight === props.blockHeight
          ? props.blockHeight
          : `${props.walletHeight} / ${props.blockHeight}`}
      </h4>

      <p>{props.connection}</p>

      <div className="d-flex flex-column">
        <label>SAFEX CASH BALANCE</label>
        <div className="d-flex flex-column">
          <div>
          {props.firstRefresh === true
            ? props.cashBalance.toLocaleString() + " SFX"
            : "∞"}{" "}
          <img className="ml-2" src={sfxLogo} width={20} alt="Safex Cash" />
          </div>
          <span>
          {props.pendingCash > 0
            ? `(${props.pendingCash.toLocaleString()} SFX Pending)`
            : ""}
          </span>
        </div>
      </div>

      <div className="d-flex flex-column mt-4">
        <label>SAFEX TOKEN BALANCE</label>
        <div className="d-flex flex-column">
          <div>
          {props.firstRefresh === true
            ? props.tokenBalance.toLocaleString() + " SFT"
            : "∞"}
            <img src={sftLogo} width={30} alt="Safex Cash" />
          </div>
          <span>
          {props.pendingTokens > 0
            ? `(${props.pendingTokens.toLocaleString()} SFT Pending)`
            : ""}
          </span>
        </div>
      </div>
    </div>
  );
}