react-starry-sky
v1.0.0
Published
React Starray Sky Background
Downloads
4
Readme
React Starry Sky
usage
npm i react-starry-sky -S
.wrapper {
position: relative;
height: 100vh;
}
import Starry from 'react-starry-sky';
const Demo = () => (
<Starry className="wrapper">
<div>
SSH 💕 WYQ
</div>
</Starry>
);
ReactDOM.render(<Demo />, window.document.getElementById('app'));
preview
https://sl1673495.github.io/react-starry-sky/
Development
npm i
npm run dev
Navigate to http://localhost:8888
Build
npm run build:lib
npm run build:demo
Compiled assets files will be in build
folder