0.0.4 • Published 4 years ago

@lemon-clown-wpg/react-hello-world v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

npm version npm download npm license

This is a demo project that demonstrates how to package a libary that uses the react+stylus+ts technology stack.

hello-world.png

See sourcecodes in github to get more information.

Usage

  • Install

    yarn add @lemon-clown-wpg/react-hello-world
    # you aslo should install peerDependencies if the terminal prompts for a warnning
  • Use in React project

    // index.tsx
    import React from 'react'
    import ReactDOM from 'react-dom'
    import { HelloWorld } from '@lemon-clown-wpg/react-hello-world'
ReactDOM.render(
  <HelloWorld />
  , document.getElementById('root')
)
```