内容简介:Here's a previewYou can check out a live demo
fullpage-react-fs
A lightweight react library to create fullpage websites
Here's a preview
You can check out a live demo here
View it being used in my personal blog at faisalrashid.online
Install
npm install --save fullpage-react-fs or yarn add fullpage-react-fs
Usage
import React from 'react'
import { FullPageContainer, FullPagePanel } from 'fullpage-react-fs'
import 'fullpage-react-fs/dist/index.css'
export const App = () => {
return (
<FullPageContainer showIndicators={true}>
{/* Panel 1 */}
<FullPagePanel bgColor='azure'>
Your Content
</FullPagePanel>
{/* Panel 2 */}
<FullPagePanel bgColor='lightgoldenrodyellow'>
<div>Goes</div>
</FullPagePanel>
{/* Panel 3 */}
<FullPagePanel>
<h1>here</h1>
</FullPagePanel>
</FullPageContainer>
)
}
As shown in the sample code above do not forget to import the CSS file.
License
MIT © FaisalST32
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Perl高效编程
霍尔 / 胜春、王晖、张东亮、蒋永清 / 人民邮电出版社 / 2011-5 / 65.00元
《Perl高效编程(第2版)》,本书是Perl编程领域的“圣经级”著作。它提供了一百多个详实的应用案例,足以涵盖编程过程中经常遇到的方方面面,由此详细阐释出各种高效且简洁的写法。一起来看看 《Perl高效编程》 这本书的介绍吧!