1.0.0 • Published 6 years ago
react-starry-sky v1.0.0
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 devNavigate to http://localhost:8888
Build
npm run build:libnpm run build:demoCompiled assets files will be in build folder
1.0.0
6 years ago