ht-components-taro-v3 1.0.0

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/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "ht-components-taro-v3",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "src/index.js",
6
+ "files": [
7
+ "src"
8
+ ],
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ },
12
+ "keywords": [],
13
+ "author": "",
14
+ "license": "ISC",
15
+ "dependencies": {
16
+ "@babel/runtime": "7.7.7",
17
+ "@tarojs/cli": "3.0.17",
18
+ "@tarojs/components": "3.0.17",
19
+ "@tarojs/react": "3.0.17",
20
+ "@tarojs/runtime": "3.0.17",
21
+ "@tarojs/taro": "3.0.17",
22
+ "prettier-eslint": "15.0.1",
23
+ "prettier-eslint-cli": "7.1.0",
24
+ "react": "16.10.0",
25
+ "react-dom": "16.10.0",
26
+ "taro-ui": "^3.0.0-alpha.4"
27
+ },
28
+ "devDependencies": {
29
+ "@babel/core": "7.8.0",
30
+ "@tarojs/mini-runner": "3.0.17",
31
+ "@tarojs/webpack-runner": "3.0.17",
32
+ "@types/react": "16.0.0",
33
+ "@types/webpack-env": "1.13.6",
34
+ "axios": "0.21.0",
35
+ "babel-preset-taro": "3.0.17",
36
+ "eslint": "7.25.0",
37
+ "eslint-config-taro": "3.0.17",
38
+ "eslint-plugin-import": "2.12.0",
39
+ "eslint-plugin-react": "7.8.2",
40
+ "eslint-plugin-react-hooks": "1.6.1",
41
+ "postcss-px-scale": "1.1.1",
42
+ "prettier": "2.3.2",
43
+ "react-beautiful-dnd": "13.1.1",
44
+ "stylelint": "9.3.0",
45
+ "tslib": "2.6.2"
46
+ }
47
+ }
@@ -0,0 +1,20 @@
1
+ import React, { useEffect, useState } from 'react';
2
+
3
+ import './index.less';
4
+
5
+ const FilesViewComponents = (props) => {
6
+ // 是否显示视频
7
+ const [isShowVideo, setIsShowVideo] = useState(false);
8
+
9
+ useEffect(() => {
10
+ setIsShowVideo(true);
11
+ }, []);
12
+
13
+ return (
14
+ <div className="nav">
15
+ test demo
16
+ </div>
17
+ );
18
+ };
19
+
20
+ export default FilesViewComponents;
@@ -0,0 +1,7 @@
1
+ .nav {
2
+ width: 100vw;
3
+ height: 100vh;
4
+ background-color: red;
5
+ color: #fff;
6
+ font-size: 30px;
7
+ }
package/src/index.js ADDED
@@ -0,0 +1 @@
1
+ export { FilesViewComponents } from './components/demo';