react-icons/fa#FaArrowUp JavaScript Examples

The following examples show how to use react-icons/fa#FaArrowUp. 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: scrollToTop.jsx    From MERN-Gurujii-dev with MIT License 6 votes vote down vote up
render() {
    return (
      <div
        className='scrollButton'
        style={{ opacity: `${this.state.opacity}` }}
      >
        {
          <div
            className='back-to-top'
            onClick={() => {
              scroll.scrollToTop();
            }}
          >
            <a href='/#'>
              <FaArrowUp
                size={24}
                style={{ fill: 'white', position: 'absolute', top: 7, left: 8 }}
              />
            </a>
          </div>
        }
      </div>
    );
  }
Example #2
Source File: ScrollToTop.js    From Kurakoo with MIT License 6 votes vote down vote up
render() {
        return (
            <div
                className="scrollButton"
                style={{ opacity: `${this.state.opacity}` }}
            >
                {
                    <div
                        className="back-to-top"
                        onClick={() => {
                            scroll.scrollToTop();
                        }}
                    >
                        <a href="#/">
                            <FaArrowUp
                                size={24}
                                style={{
                                    fill: "white",
                                    position: "absolute",
                                    top: 7,
                                    left: 8
                                }}
                            />
                        </a>
                    </div>
                }
            </div>
        );
    }
Example #3
Source File: ScrollToTop.js    From CS-Hut with MIT License 6 votes vote down vote up
render() { 
        return ( <div
            className="scrollButton"
            style={{ opacity: `${this.state.opacity}` }}>
            {
                <div
                    className="back-to-top"
                    onClick={() => {
                        scroll.scrollToTop();
                    }}>
                    <a href="#/">
                        <FaArrowUp
                            size={36}
                            style={{
                                fill: "white",
                                position: "absolute",
                                top: 8,
                                left: 7
                            }}
                        />
                    </a>
                </div>
            }
        </div>
    );
}