sb_js-react 0.0.2 → 0.0.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 CHANGED
@@ -1,29 +1,30 @@
1
- # ---------------------- sb_js 2023 © Copyright Sourav Bishai ----------------------
2
- # **********************************************************************************
1
+ ## sb_js 2023 © Copyright Sourav Bishai
3
2
 
4
- # ----------------This is a React version of sb_js javascript library---------------
5
- # ===================================================================================
6
- # import Sb_Js, { registerClass } from './Sb_Js';
3
+ ## This is a React version of sb_js javascript library
7
4
 
8
- # function Test() {
9
- # registerClass([
10
- # "para", "btn", "para2", "hadding"
11
- # ])
5
+ ```javascript
6
+ import Sb_Js, { registerClass } from './Sb_Js';
12
7
 
13
- # useEffect(() => {
14
- # Sb_Js();
15
- # }, [])
8
+ function Test() {
9
+ registerClass([
10
+ "para", "btn", "para2", "hadding"
11
+ ])
16
12
 
17
- # return (
18
- # <div>
19
- # <button className='btn' bg="green" hoverbg="maroon"
20
- # hoverfg="white" click="myPara,{font-size:120px; color:orange}">
21
- # click me
22
- # </button>
23
- # "<p className='para' fg="blue">i'm sb_js</p>"
13
+ useEffect(() => {
14
+ Sb_Js();
15
+ }, [])
24
16
 
25
- # <h1 className="hadding" fg="red" hoverfg="green" px="20px" mt="120px"> Hello World </h1>
26
- # <p className="para2" fg="blue" bold="true" fs="20"> Hello World </p>
27
- # </div>
28
- # );
29
- # }
17
+ return (
18
+ <div>
19
+ <button className='btn' bg="green" hoverbg="maroon"
20
+ hoverfg="white" click="myPara,{font-size:120px; color:orange}">
21
+ click me
22
+ </button>
23
+ <p className='para' fg="blue">i'm sb_js</p>
24
+
25
+ <h1 className="hadding" fg="red" hoverfg="green" px="20px" mt="120px"> Hello World </h1>
26
+ <p className="para2" fg="blue" bold="true" fs="20"> Hello World </p>
27
+ </div>
28
+ );
29
+ }
30
+ ```
package/package.json CHANGED
@@ -1,20 +1,26 @@
1
- {
2
- "name": "sb_js-react",
3
- "version": "0.0.2",
4
- "description": "sb_js is a javascript library for react",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/techCodeSB/sb_js-react.git"
12
- },
13
- "keywords": ["custom attribute", "sb_js", "sb_js", "SbJs", "Sb_Js"],
14
- "author": "sourav bishai",
15
- "license": "ISC",
16
- "bugs": {
17
- "url": "https://github.com/techCodeSB/sb_js-react/issues"
18
- },
19
- "homepage": "https://github.com/techCodeSB/sb_js-react#readme"
20
- }
1
+ {
2
+ "name": "sb_js-react",
3
+ "version": "0.0.3",
4
+ "description": "sb_js is a javascript library for react",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/techCodeSB/sb_js-react.git"
12
+ },
13
+ "keywords": [
14
+ "custom attribute",
15
+ "sb_js",
16
+ "sb_js",
17
+ "SbJs",
18
+ "Sb_Js"
19
+ ],
20
+ "author": "sourav bishai",
21
+ "license": "ISC",
22
+ "bugs": {
23
+ "url": "https://github.com/techCodeSB/sb_js-react/issues"
24
+ },
25
+ "homepage": "https://github.com/techCodeSB/sb_js-react#readme"
26
+ }
File without changes