@asaleh37/ui-base 1.0.0 → 1.0.2

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/dist/index.d.ts CHANGED
@@ -1,6 +1,2 @@
1
- type MyComponent1Props = {
2
- firstName: string;
3
- lastName: string;
4
- };
5
1
 
6
- export type { MyComponent1Props };
2
+ export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaleh37/ui-base",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -0,0 +1,5 @@
1
+ const Comp1: React.FC<string> = (name) => {
2
+ return <div>Comp1 :{name}</div>;
3
+ };
4
+
5
+ export default Comp1;
@@ -0,0 +1,5 @@
1
+ const Comp2: React.FC<string> = (name) => {
2
+ return <div>Comp2 :{name}</div>;
3
+ };
4
+
5
+ export default Comp2;
@@ -0,0 +1,2 @@
1
+ export * from "./Comp1/Comp1";
2
+ export * from "./Comp2/Comp2";
package/src/index.ts CHANGED
@@ -1,2 +1,3 @@
1
- export * from "./MyComponent1";
2
- export type { MyComponent1Props } from "./MyComponent1";
1
+ // export { default as MyComponent1 } from "./MyComponent1";
2
+ // export type { MyComponent1Props } from "./MyComponent1";
3
+ export * from "./components";