@hcore/core-ui-test 1.0.7 → 1.1.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 CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@hcore/core-ui-test",
3
- "version": "1.0.7",
3
+ "version": "1.1.0",
4
4
  "description": "@core-ui 테스트",
5
- "main": "index.js",
5
+ "main": "src/index.js",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,22 +1,21 @@
1
1
  const HInput=()=>{
2
2
 
3
- const HInputText=(param)=> {
3
+ const HInputText=(param)=>{
4
4
  return {
5
- type: param.type,
6
- name: param.name
5
+ type: param.type,
6
+ name: props.name
7
7
  };
8
8
  }
9
-
10
- const HInputSelect=(param)=> {
9
+ const HInputSelect=(param)=>{
11
10
  return {
12
11
  type: param.type,
13
- name: param.name
12
+ name: props.name
14
13
  };
15
14
  }
16
- return{
15
+ return {
17
16
  HInputText,
18
17
  HInputSelect
19
- }
18
+ }
20
19
  }
21
20
 
22
21
  export { HInput };
package/src/index.js ADDED
@@ -0,0 +1,13 @@
1
+ // index.js
2
+ import { HInputText, HInputSelect } from './components/HInput';
3
+ import { HGrid } from './components/HGrid';
4
+
5
+ const hcore = {
6
+ HInput: {
7
+ HInputText,
8
+ HInputSelect,
9
+ },
10
+ HGrid,
11
+ };
12
+
13
+ export default hcore;
package/index.js DELETED
@@ -1,4 +0,0 @@
1
- import { HInput } from 'components/HInput'
2
- import { HGrid } from 'components/HGrid'
3
-
4
- export{ HInput, HGrid }