react-icons/io#IoIosArrowDown JavaScript Examples

The following examples show how to use react-icons/io#IoIosArrowDown. 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: accountDetails.jsx    From nightfall_3 with Creative Commons Zero v1.0 Universal 6 votes vote down vote up
export default function AccountDetails() {
  const { accountInstance } = useAccount();
  return (
    <div className="accountBox">
      <img src={metamkaskLogo} />
      {accountInstance.address && (
        <div className="accountAddress">
          {`${accountInstance.address.slice(0, 6)}...${accountInstance.address.slice(-6)}`}
        </div>
      )}
      {!accountInstance.address && <div className="accountAddress">sign in</div>}
      <span>
        <IoIosArrowDown />
      </span>
    </div>
  );
}
Example #2
Source File: navItems.jsx    From nightfall_3 with Creative Commons Zero v1.0 Universal 6 votes vote down vote up
export default function NavItems() {
  const isSmallScreen = useMediaQuery({ query: '(max-width: 900px)' });
  const [state] = useContext(UserContext);
  return (
    <div className="navItems">
      {/* <MenuItem /> */}
      {!isSmallScreen && (
        <div className="accountBox">
          <img src={polygonNightfall} />
          {state.compressedPkd && (
            <div className="accountAddress">
              {`${state.compressedPkd.slice(0, 6)}...${state.compressedPkd.slice(-6)}`}
            </div>
          )}
          <span>
            <IoIosArrowDown />
          </span>
        </div>
      )}
      {!isSmallScreen && <AccountDetails />}
    </div>
  );
}
Example #3
Source File: index.jsx    From nightfall_3 with Creative Commons Zero v1.0 Universal 6 votes vote down vote up
export default function Tokens(token) {
  const [state] = useContext(UserContext);

  return (
    <div className="maticTokensList">
      <div className="formHeader">
        <div className="leftSection">
          <div className="headerH5">Balances on Polygon Nightfall</div>
          <div className="accountBox">
            <img src={polygonNightfall} />
            {state.compressedPkd && (
              <div className="accountAddress">
                {`${state.compressedPkd.slice(0, 6)}...${state.compressedPkd.slice(-6)}`}
              </div>
            )}
            <span>
              <IoIosArrowDown />
            </span>
          </div>
          {/* <div className="headerH5 light-gray-500">{`Nightfall address: ${state.compressedPkd.slice(0, 6)}...${state.compressedPkd.slice(-6)}`}</div> */}
        </div>
      </div>
      <div className="seperator" />
      <div className="tokenListSection">
        <div className="tokenListHeader">
          <div className="headerName">Name</div>
          <div className="headerBalance">Balance</div>
          <div className="headerActions">Actions</div>
        </div>
        {token.tokenList.map((t, index) => (
          <TokenItem {...t} key={index} />
        ))}
      </div>
    </div>
  );
}
Example #4
Source File: index.js    From layer5-ng with Apache License 2.0 6 votes vote down vote up
FaqClassic = () => {
  return (
    <FaqSectionWrapper id="faq">
      <img className="section__particle one" src={particle1} alt="img" />
      <img className="section__particle two" src={particle2} alt="img" />
      <Container fullWidthSM>
        <SectionTitle className="section-title" UniWidth="80%">
          <h2>
            <span>Easy and perfect solution </span> for this app
          </h2>
        </SectionTitle>
        <Row Vcenter={true}>
          <Col className="faq-content-block" md={8} sm={12} offsetMd={2}>
            <Accordion>
              {data.faqs.map((faq, index) => (
                <AccordionItem key={index}>
                  <AccordionTitle>
                    <h5>{faq.title}</h5>
                    <IconWrapper>
                      <OpenIcon>
                        <IoIosArrowForward />
                      </OpenIcon>
                      <CloseIcon>
                        <IoIosArrowDown />
                      </CloseIcon>
                    </IconWrapper>
                  </AccordionTitle>
                  <AccordionBody>
                    <p>{faq.content}</p>
                  </AccordionBody>
                </AccordionItem>
              ))}
            </Accordion>
          </Col>
        </Row>
      </Container>
    </FaqSectionWrapper>
  );
}
Example #5
Source File: index.js    From layer5-ng with Apache License 2.0 5 votes vote down vote up
Faq = () => {
  return (
    <FaqSectionWrapper id="faq">
      <img className="section__particle one" src={particle1} alt="img" />
      <img className="section__particle two" src={particle2} alt="img" />
      <Container fullWidthSM>
        <Row Vcenter={true}>
          <Col className="faq-thumb-block" xs={12} sm={6}>
            <div className="faq-thumb">
              <img src={FaqImage} alt="appion-faq" />
            </div>
          </Col>
          <Col className="faq-content-block" xs={12} sm={6}>
            <SectionTitle
              className="section-title"
              leftAlign={true}
              UniWidth="100%"
            >
              <h4>Solution</h4>
              <h2>
                <span>Easy and perfect solution </span> for this app
              </h2>
            </SectionTitle>
            <Accordion>
              {data.faqs.map((faq, index) => (
                <AccordionItem key={index}>
                  <AccordionTitle>
                    <h5>{faq.title}</h5>
                    <IconWrapper>
                      <OpenIcon>
                        <IoIosArrowForward />
                      </OpenIcon>
                      <CloseIcon>
                        <IoIosArrowDown />
                      </CloseIcon>
                    </IconWrapper>
                  </AccordionTitle>
                  <AccordionBody>
                    <p>{faq.content}</p>
                  </AccordionBody>
                </AccordionItem>
              ))}
            </Accordion>
            <VintageBox
              right={true}
              vintageTwo={true}
              position="relative"
            >
              <Button>Learn More</Button>
            </VintageBox>
          </Col>
        </Row>
      </Container>
    </FaqSectionWrapper>
  );
}
Example #6
Source File: index.js    From layer5-ng with Apache License 2.0 5 votes vote down vote up
Faq = () => {
  return (
    <FaqSectionWrapper id="faq">
      <img className="section__particle one" src={particle1} alt="img" />
      <img className="section__particle two" src={particle2} alt="img" />
      <Container fullWidthSM>
        <Row Vcenter={true}>
          <Col className="faq-thumb-block" xs={12} sm={6}>
            <div className="faq-thumb">
              <img src={FaqImage} alt="appion faq" />
            </div>
          </Col>
          <Col className="faq-content-block" xs={12} sm={6}>
            <SectionTitle
              className="section-title"
              leftAlign={true}
              UniWidth="100%"
            >
              <h4>Solution</h4>
              <h2>
                <span>Easy and perfect solution </span> for this app
              </h2>
            </SectionTitle>
            <Accordion>
              {data.faqs.map((faq, index) => (
                <AccordionItem key={index}>
                  <AccordionTitle>
                    <h5>{faq.title}</h5>
                    <IconWrapper>
                      <OpenIcon>
                        <IoIosArrowForward />
                      </OpenIcon>
                      <CloseIcon>
                        <IoIosArrowDown />
                      </CloseIcon>
                    </IconWrapper>
                  </AccordionTitle>
                  <AccordionBody>
                    <p>{faq.content}</p>
                  </AccordionBody>
                </AccordionItem>
              ))}
            </Accordion>
            <VintageBox
              right={true}
              vintageTwo={true}
              position="relative"
            >
              <Button>Learn More</Button>
            </VintageBox>
          </Col>
        </Row>
      </Container>
    </FaqSectionWrapper>
  );
}