neura-packages 1.0.39 → 1.0.41

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.
@@ -0,0 +1,12 @@
1
+ .black-button {
2
+ background-color: #000;
3
+ color: #fff;
4
+ border: none;
5
+ padding: 10px 20px;
6
+ font-size: 16px;
7
+ cursor: pointer;
8
+ transition: background-color 0.3s ease;
9
+ }
10
+ .black-button:hover {
11
+ background-color: #333;
12
+ }
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import './index.css';
3
+
4
+ const Index = ({ children, className = '', ...props }) => {
5
+ return (
6
+ <button className={`black-button ${className}`} {...props}>
7
+ {children}
8
+ </button>
9
+ );
10
+ };
11
+
12
+ export default Index;
@@ -0,0 +1,15 @@
1
+ .button {
2
+ background-color: #4CAF50;
3
+ color: #fff;
4
+ padding: 10px 20px;
5
+ border: none;
6
+ border-radius: 5px;
7
+ cursor: pointer;
8
+ transition: background-color 0.3s ease-in-out;
9
+ }
10
+ .button:hover {
11
+ background-color: #3e8e41;
12
+ }
13
+ .button:active {
14
+ transform: scale(0.9);
15
+ }
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './index.css';
3
+
4
+ const Index = ({ children, className = '', text = 'Click me', ...props }) => {
5
+ return (
6
+ <button className={`button ${className}`} {...props}>{children || text}</button>
7
+ );
8
+ };
9
+
10
+ export default Index;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neura-packages",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "",
5
5
  "main": "UI/index.js",
6
6
  "files": [