Skip to content

nju33/react-hai

Repository files navigation

 Hai

XO code style

Hai's React component

Install

yarn add react-hai
npm i -S react-hai

Usage

import Hai from 'react-hai';

// ...
  render() {
    return (
      // ...
      <Hai .../>
      // ...
    )
  }
// ...

Props

Look at the example of example/src/Container.jsx

  • talks

  • callback

  • theme

Example

yarn
yarn dev

Related

License

The MIT License (MIT)

Copyright (c) 2017 nju33 nju33.ki@gmail.com