react-chessboard-ui 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# react-chessboard-ui
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/react-chessboard-ui) [](https://standardjs.com)
|
|
4
4
|
|
|
5
5
|
## ❗️ ATTENTION ❗️
|
|
6
6
|
This is a package that is currently in active development.
|
|
@@ -10,21 +10,21 @@ This is a package that is currently in active development.
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npm install
|
|
13
|
+
npm install react-chessboard-ui
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
or
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
yarn add
|
|
19
|
+
yarn add react-chessboard-ui
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Usage
|
|
23
23
|
```tsx
|
|
24
24
|
import React from 'react';
|
|
25
|
-
import { ChessBoard } from '
|
|
25
|
+
import { ChessBoard } from 'rechreact-chessboard-ui'; // ChessBoard is a base component of react-chessboard-ui
|
|
26
26
|
|
|
27
|
-
import '
|
|
27
|
+
import 'react-chessboard-ui/dist/index.css'; // required import css for ChessBoard
|
|
28
28
|
|
|
29
29
|
export const App = () => {
|
|
30
30
|
|