1.0.0 • Published 5 years ago

react-starry-sky v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

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