404-page 中文文档教程
404-page
带有动画和您的图片的 404 页面!
Install
npm install --save 404-page
Usage
import React from 'react'
import {LostPage} from '404-page'
import '404-page/dist/index.css'
const Example = () => {
return <LostPage face={ optional your face image (default is my face) } backgroundColor={ optional (default is space)} audio={ optional your audio} />
}
Optional parameters:
- face > default is my face image with your face.
- backgroundColor > default is space you can choose from cool linear gradient backgrounds (purple,black and blue).
- audio > audio to play in your 404 page.
Some preview:
License
麻省理工学院 © ShaharEli
404-page
404 page with animation and your picture in it!
Install
npm install --save 404-page
Usage
import React from 'react'
import {LostPage} from '404-page'
import '404-page/dist/index.css'
const Example = () => {
return <LostPage face={ optional your face image (default is my face) } backgroundColor={ optional (default is space)} audio={ optional your audio} />
}
Optional parameters:
- face > default is my face image with your face.
- backgroundColor > default is space you can choose from cool linear gradient backgrounds (purple,black and blue).
- audio > audio to play in your 404 page.
Some preview:
License
MIT © ShaharEli