内容简介: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
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
UNIX编程艺术
Eric S. Raymond / 姜宏、何源、蔡晓俊 / 电子工业出版社 / 2006-2 / 59.00元
本书主要介绍了Unix系统领域中的设计和开发哲学、思想文化体系、原则与经验,由公认的Unix编程大师、开源运动领袖人物之一Eric S. Raymond倾力多年写作而成。包括Unix设计者在内的多位领域专家也为本书贡献了宝贵的内容。本书内容涉及社群文化、软件开发设计与实现,覆盖面广、内容深邃,完全展现了作者极其深厚的经验积累和领域智慧。一起来看看 《UNIX编程艺术》 这本书的介绍吧!