@tsingroc/tsingroc-components 1.0.3 → 1.0.5
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 +64 -0
- package/dist/components/Button/index.d.ts +5 -0
- package/dist/components/Button/index.js +8 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/tsingrocCom.d.ts +15 -0
- package/dist/components/tsingrocCom.js +967 -0
- package/dist/components/tsingrocCom.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/package.json +35 -14
- package/.babelrc +0 -3
- package/build.config.js +0 -55
- package/dist/bundle.js +0 -11220
- package/dist/index.html +0 -11
- package/example/public/index.html +0 -11
- package/example/src/App.js +0 -17
- package/example/src/index.js +0 -11
- package/index.js +0 -6
- package/src/components/Button/index.js +0 -10
- package/src/components/index.js +0 -3
- package/src/components/tsingrocCom.js +0 -1121
- package/src/index.js +0 -39
- package/test/test.js +0 -2
- package/webpack.config.js +0 -41
package/dist/index.html
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>My Frontend Project</title>
|
|
7
|
-
<script defer src="bundle.js"></script></head>
|
|
8
|
-
<body>
|
|
9
|
-
<div id="root"></div>
|
|
10
|
-
</body>
|
|
11
|
-
</html>
|
package/example/src/App.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Button,testCon,SuccessInfo,EchartJustOneLine } from 'tsingroc-components';
|
|
3
|
-
|
|
4
|
-
const App = () => {
|
|
5
|
-
testCon('zhangsan1222 ')
|
|
6
|
-
return (
|
|
7
|
-
<div className="app">
|
|
8
|
-
<h1>Hello, React!</h1>
|
|
9
|
-
<EchartJustOneLine x={[1,2,3]} y={[4,5,6]} styleObj={{ lineColor: '#3AC8FF', areaStyle: ['rgba(58, 200, 255, 0.43) ', 'rgba(139, 255, 255, 0.02)'] }} ></EchartJustOneLine>
|
|
10
|
-
<SuccessInfo></SuccessInfo>
|
|
11
|
-
<Button>nihao</Button>
|
|
12
|
-
<p>Welcome to my frontend project.</p>
|
|
13
|
-
</div>
|
|
14
|
-
);
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export default App;
|
package/example/src/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// import React from 'react';
|
|
2
|
-
// import ReactDOM from 'react-dom';
|
|
3
|
-
import App from './App'; // 引入 App 组件
|
|
4
|
-
|
|
5
|
-
// ReactDOM.render(<App />, document.getElementById('app'));
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import { createRoot } from 'react-dom/client';
|
|
8
|
-
|
|
9
|
-
const container = document.getElementById('root');
|
|
10
|
-
const root = createRoot(container);
|
|
11
|
-
root.render(<App />);
|
package/index.js
DELETED
package/src/components/index.js
DELETED