1.0.1 • Published 5 years ago

react-rotation-map v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

支持环境

  • 现代浏览器
  • React 版本大于 16.3

安装

npm install react-rotation-map --save

or

yarn add react-rotation-map

示例

import React from 'react';
import ReactDom from 'react-dom';
import Rotation from 'react-rotation-map';

const App = () => (
    <div style={{ height: '400px', width: '400px' }}>
        <Rotation>
            <div>React</div>
            <div>Vue</div>
            <div>Angular</div>
        </Rotation>
    </div>
)

ReactDOM.render(<App />, document.getElementById('root'));

本地开发

// 安装依赖
npm install
yarn

// 启动项目 - 项目会以本机 ip 启动
npm run dev
yarn dev

// 项目构建
npm run build
yarn build

// 构建 package
npm run build:lib
yarn build:lib
1.0.1

5 years ago

1.0.0

5 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago