内容简介: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
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
产品的视角:从热闹到门道
后显慧 / 机械工业出版社 / 2016-1-1 / 69.00
本书在创造性的提出互联网产品定义的基础上,为读者提供了一个从0基础到产品操盘手的产品思维培养方法! 全书以互联网产品定义为基础,提出了产品思维学习的RAC模型,通过认识产品、还原产品和创造产品三个阶段去培养产品思维和产品认知。 通过大量的图片和视觉引导的方法,作者像零基础的用户深入浅出的描绘了一条产品经理的自我修养路径,并且提供了知识地图(knowledge map)和阅读雷达等工具,......一起来看看 《产品的视角:从热闹到门道》 这本书的介绍吧!