This commit is contained in:
Harvey Zack committed 2019-04-15 13:18:35 +08:00
1 parent e00fab0bfe
commit 18fbb79dab
3 files changed
+11 -11

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
# artplayer-react
Artplayer React Component, It is recommended to package itself according to actual business needs.
React Component for Artplayer, It is recommended to package itself according to actual business needs.
## Demo
@@ -23,11 +23,11 @@ $ yarn add artplayer-react
## Usage
```js
import Artplayer from 'artplayer-react';
import ArtplayerComponent from 'artplayer-react';
import 'artplayer/dist/artplayer.css';
// ...
<Artplayer
<ArtplayerComponent
option={
{
// option, no 'container' property required
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "artplayer-react",
"version": "1.0.6",
"description": "Artplayer React Component",
"description": "React Component for Artplayer",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"